1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 17:35:34 +02:00

yes: add example (#12239)

* yes: add example

---------

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
This commit is contained in:
Managor 2024-02-12 11:23:37 +02:00 committed by GitHub
parent c4b5aefa54
commit c55047ad89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ''`