yes

Print the specified string repeatedly

Supplementary instructions

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.

grammar

yes (parameter)

Parameters

String: Specify the string to be printed repeatedly.

Example

[root@localhost ~]# yes testline

testline
testline
testline
testline
testline
testline
testline
testline
...Print testline repeatedly and press Ctrl+C to end.
继续阅读

接下来你可能需要这些内容

优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。