yes Command yes
Print infinitely many responses
yes [ answer ]
With no argument, yes prints an arbitrary number of lines consis-
ting solely of `y'. If the optional answer is used, then yes
produces lines containing the answer instead.
***** Example *****
The following example prints the string ``foo'' forever.
yes foo
***** See Also *****
commands
***** Notes *****
yes is useful for overwriting the contents of disks, for reasons
of security; simply redirect its output to the name of the device
that you wish to overwrite.
COHERENT Lexicon Page 1