Hurd -- Hird of Unix Replacing Daemons
Hird -- Hurd of Interfaces Representing Depth
One Day One GNU/Linux Command
=============================
yes -- Print a string until interrupted
Summary :
It prints the command line arguments, separated by spaces & followed
by a newline, forever until it is killed. 'yes' can be used to feeds a
continuous string of the character to another process and create dummy
process for learning the process control.
Example:
$ yes -- Prints `y' followed by a newline until killed.
$ yes ILUGC -- Prints `ILUGC' followed by a newline until killed.
$ yes `cat myfile` -- Print myfile content until killed.
$ yes | fsck /dev/hda1 -- Runs fsck non-interactively.
$ yes | rm -r mydir -- Same effect as rm -rf mydir.
$ yes > /dev/null & -- Dummy process.
Read : man yes
HTH :)
--
Bharathi S