Gå til indhold
Global sound
DistroTube on Odysee

DistroTube on Odysee

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

· 6 min.

Episodebeskrivelse

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…

Website: odysee.com

Live, seneste time: 9.375 sange på 3.974 stationer i 128 lande

Opdag verden gennem radioen

Flere måder at opdage på (7)

Hørt noget godt? Gem det, eller åbn det direkte i Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
95.7 QMFFortsæt med at lytte