commands.sh

yes

all

Output something repeatedly. This command is commonly used to answer yes to every prompt by install commands (such as `apt-get`).

More info →

Examples (4)

Repeatedly output `y`

Repeatedly output a specified value

yes value

Accept everything prompted by the `apt-get` command

Repeatedly output a newline to always accept the default option of a prompt

yes ''
made by @shridhargupta | data from tldr-pages