Browse Source

yes: add example (#12239)

* yes: add example

---------

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
Managor 1 year ago
parent
commit
c55047ad89
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/yes.md

+ 4 - 0
pages/common/yes.md

@@ -15,3 +15,7 @@
 - Accept everything prompted by the `apt-get` command:
 
 `yes | sudo apt-get install {{program}}`
+
+- Repeatedly output a newline to always accept the default option of a prompt:
+
+`yes ''`