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>.
Install
- All systems
-
curl cmd.cat/yes.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install yes - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/yes yespowered by Commando
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
© tl;dr; authors and contributors