Contenues dansTrouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (4620 Ko)
cat(1)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | USAGE | EXAMPLES | ENVIRONMENT VARIABLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES NAME
SYNOPSIS
DESCRIPTIONThe cat utility reads each file in sequence and writes it on the standard output. Thus:
OPTIONS
The following options are supported: When used with the -v option, the following options may be used: The -e and -t options are ignored if the -v option is not specified. OPERANDS
The following operand is supported: USAGESee largefile(5) for the description of the behavior of cat when encountering files greater than or equal to 2 Gbyte ( 231 bytes). EXAMPLESExample 1 Concatenating a fileThe following command:
writes the contents of the file myfile to standard output. Example 2 Concatenating two files into oneThe following command:
Example 3 Concatenating two arbitrary pieces of input with a single invocationThe command:
ENVIRONMENT VARIABLESSee environ(5) for descriptions of the following environment variables that affect the execution of cat: LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSONOTESRedirecting the output of cat onto one of the files being read will cause the loss of the data originally in the file being read. For example,
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | USAGE | EXAMPLES | ENVIRONMENT VARIABLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES |
|||||||||||||