mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 22:56:59 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/yes
10
tldr/yes
@@ -9,14 +9,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> This command is commonly used to answer yes to every prompt by install commands (such as `apt-get`).
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/yes-invocation.html>.
|
||||
|
||||
- Repeatedly output "message":
|
||||
|
||||
`yes {{message}}`
|
||||
|
||||
- Repeatedly output "y":
|
||||
- Repeatedly output `y`:
|
||||
|
||||
`yes`
|
||||
|
||||
- Repeatedly output a specified value:
|
||||
|
||||
`yes {{value}}`
|
||||
|
||||
- Accept everything prompted by the `apt-get` command:
|
||||
|
||||
`yes | sudo apt-get install {{program}}`
|
||||
|
||||
Reference in New Issue
Block a user