man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

yes(1)

Name

yes - generate repetitive affirmative output

Synopsis

yes [term]...

Description

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.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See also

attributes(5)