'yes' - output a string repeatedly - Video Man Pages
The 'yes' command outputs a string repeatedly until killed. + Output 'y' repeatedly until killed (Ctrl-C to kill): yes + Output a specified string repeatedly: yes string + Accept every 'y/n' question that is prompted by a command: yes | sudo pacman -Syu -OR- yes | rm -i file1 file2 file3 NOTE Blindly answsering 'y' to every prompt could be dangerous so use with caution. + Output a newline repeatedly, which is useful to automate installations or scripts that repeatedly ask