yes - generate repetitive affirmative output
The yes utility repeatedly outputs y, or if term is specified, term is output repeatedly. In the output, either y or term is followed by a NEWLINE. Multiple arguments are output separated by spaces and followed by a NEWLINE. To terminate yes, issue an interrupt character.
yes can be used to respond programatically to programs that require an interactive response.
See attributes(5) for descriptions of the following attributes: