You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
563 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

yes
===
重复打印指定字符串
## 补充说明
**yes命令** 在命令行中输出指定的字符串直到yes进程被杀死。不带任何参数输入yes命令默认的字符串就是y。
### 语法
```
yes(参数)
```
### 参数
字符串:指定要重复打印的字符串。
### 实例
```
[root@localhost ~]# yes testline
testline
testline
testline
testline
testline
testline
testline
testline
...一直重复打印 testline按Ctrl+C结束。
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->