yes command in linux is used to print a continuous output stream of given STRING.

If STRING is not mentioned then it prints 'y';
$ yes "i88.ca" | head
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca
i88.ca

yes | rm -i *.txt.  

Comments