Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 405 Bytes

File metadata and controls

29 lines (18 loc) · 405 Bytes

Yes

yes - output a string repeatedly until killed

Repeatedly output a line with all specified STRING(s), or 'y'.

Usage

  • Print y repeatedly
yes
  • Print y repeatedly & pipe to a command
yes | apt-get upgrade
  • Print custom string & pipe to a command
yes "n" | apt-get upgrade

Reference(s)