Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

yes

v(uutils coreutils) 0.8.0
yes [STRING]...

Repeatedly display a line with STRING (or ‘y’)

Options

Examples

Repeatedly output y:

yes

Repeatedly output a specified value:

yes {{value}}

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 ''

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.