yes Command Examples

Output something repeatedly. This command is commonly used to answer yes to every prompt by install commands (such as apt-get). More information: https://www.gnu.org/software/coreutils/yes.

yes {{message}}

yes

yes | sudo apt-get install {{program}}

yes ''