yes
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.
- Repeatedly output "message":
yes {{message}}
- Repeatedly output "y":
yes
- Accept everything prompted by the
apt-get
command:yes | sudo apt-get install {{program}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.