重复打印指定字符串
yes命令 在命令行中输出指定的字符串,直到yes进程被杀死。不带任何参数输入yes命令默认的字符串就是y。
yes(参数)
字符串:指定要重复打印的字符串。
[root@localhost ~]# yes testline
testline
testline
testline
testline
testline
testline
testline
testline
...一直重复打印 testline,按Ctrl+C结束。
คำแนะนำที่เกี่ยวข้อง ประวัติการอ่าน และบทความที่บันทึกไว้
ยังไม่มีประวัติการอ่าน
บทความที่บันทึกจะแสดงที่นี่