yes: add example (#12239)
* yes: add example --------- Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
This commit is contained in:
@@ -15,3 +15,7 @@
|
|||||||
- Accept everything prompted by the `apt-get` command:
|
- Accept everything prompted by the `apt-get` command:
|
||||||
|
|
||||||
`yes | sudo apt-get install {{program}}`
|
`yes | sudo apt-get install {{program}}`
|
||||||
|
|
||||||
|
- Repeatedly output a newline to always accept the default option of a prompt:
|
||||||
|
|
||||||
|
`yes ''`
|
||||||
|
Reference in New Issue
Block a user