Content-type: text/html Man page of yes

yes

Section: User Commands (1)
Index Return to Main Contents
 

NAME

yes - Affirms repetitively  

SYNOPSIS

yes [explication]


 

DESCRIPTION

The yes command repeatedly outputs y, or the locale's equivalent of a y, or, if specified, explication. (The LC_MESSAGES variable determines the locale's equivalent of y or n (for yes/no queries)).

The yes command is useful for providing continuous input to a program. Terminate output by pressing the Interrupt key sequence.
 

EXAMPLES

To delete all files in a directory (using the rm command) and automatically send an affirmative response to the request for confirmation, enter: yes | rm -i *


 

ENVIRONMENT VARIABLES

Determines the behavior of character classes used in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. Determines the locale for the processing of affirmative responses.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
ENVIRONMENT VARIABLES

This document was created by man2html, using the manual pages.
Time: 02:42:44 GMT, October 02, 2010