From c55047ad8979085717ecb16ef782515eaa9c14a6 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 12 Feb 2024 11:23:37 +0200 Subject: [PATCH] yes: add example (#12239) * yes: add example --------- Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> --- pages/common/yes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/yes.md b/pages/common/yes.md index aaee27a18..e10db3887 100644 --- a/pages/common/yes.md +++ b/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 ''`