mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 06:34:59 +00:00
44 lines
397 B
Markdown
44 lines
397 B
Markdown
## Name
|
|
|
|
yes - output a string repeatedly until killed
|
|
|
|
## Synopsis
|
|
|
|
```**sh
|
|
$ yes [string]
|
|
```
|
|
|
|
## Description
|
|
|
|
`yes` outputs an endless stream of specified `string` (with trailing newline) in a loop.
|
|
|
|
## Options
|
|
|
|
* `string`: String to print; defaults to "yes".
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
$ yes
|
|
yes
|
|
yes
|
|
yes
|
|
yes
|
|
yes
|
|
yes
|
|
yes^C
|
|
$ yes t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t
|
|
t^C
|
|
```
|
|
|
|
## See also
|
|
* [`cat`(1)](help://man/1/cat)
|