Jelajahi Sumber

yes: add example (#12239)

* yes: add example

---------

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
Managor 1 tahun lalu
induk
melakukan
c55047ad89
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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 ''`