跳过导航链接 | |
退出打印视图 | |
手册页第 1 部分:用户命令 Oracle Solaris 11 Information Library (简体中文) |
- generate repetitive affirmative output
yes [term]...
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:
|