Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021
 
 

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 programmatically to programs that require an interactive response.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

attributes(7)