Home Linux

yes

`yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed.

   If no arguments are given, it prints `y' followed by 
   a newline forever until killed.

   The only options are a lone `--help' or `--version'.

Related commands:

false - Do nothing, unsuccessfully
true - Do nothing, successfully


Equivalent Windows NT commands:

To pipe the 'Y' character + CR/newline into command use

ECHO y | command

To pipe just a CR/newline into command use

ECHO.| command



Back to the Top

Simon Sheppard
SS64.com