mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-23 17:57:32 +03:00
17 lines
321 B
Markdown
17 lines
321 B
Markdown
# yes
|
|
|
|
> Output something repeatedly.
|
|
> This command is commonly used to answer yes to every prompt by install commands (such as apt-get).
|
|
|
|
- Repeatedly output "message":
|
|
|
|
`yes {{message}}`
|
|
|
|
- Repeatedly output "y":
|
|
|
|
`yes`
|
|
|
|
- Accept everything prompted by the `apt-get` command:
|
|
|
|
`yes | sudo apt-get install {{program}}`
|