'yes' - output a string repeatedly - Video Man Pages

'yes' - output a string repeatedly - Video Man Pages

DistroTube
DistroTube
Aug 29, 2026

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 for "ENTER":
yes ''

REFERENCED:
https://gitlab.com/dwt1/vidman - Video Man Pages

WANT TO SUPPORT THE CHANNEL?
💰 Patreon: https://www.patreon.com/distrotube
💳 Paypal: https://www.paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW
🛍️ Amazon: https://amzn.to/2RotFFi
👕 Teespring: https://teespring.com/stores/distrotube

DT ON THE WEB:
🕸️ Website: http://distro.tube
📁 GitLab: https://gitlab.com/dwt1
🗨️ Mastodon: https://fosstodon.org/@distrotube
👫 Reddit: https://www.reddit.com/r/DistroTube/
📽️ Odysee: https://odysee.com/@DistroTube:2

FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
🌐 Brave Browser - https://brave.com/
📽️ Open Broadcaster Software: https://obsproject.com/
🎬 Kdenlive: https://kdenlive.org
🎨 GIMP: https://www.gimp.org/
💻 VirtualBox: https://www.virtualbox.org/
🗒️ Doom Emacs: https://github.com/hlissner/doom-emacs

Your support is very much appreciated. Thanks, guys!