Print the specified string repeatedly
yes command outputs the specified string on the command line until the yes process is killed. If you enter the yes command without any parameters, the default string is y.
yes (parameter)
String: Specify the string to be printed repeatedly.
[root@localhost ~]# yes testline
testline
testline
testline
testline
testline
testline
testline
testline
...Print testline repeatedly and press Ctrl+C to end.
优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。