TEE(1) COMMAND REFERENCE TEE(1)
NAME
tee - redirect to standard output and files (pipe fitting)
SYNOPSIS
tee [ -i ] [ -a ][ filename...]
DESCRIPTION
Tee transcribes the standard input to the standard output
and makes copies in the filenames. Option -i ignores
interrupts; option -a causes the output to be appended to
the filenames rather than overwriting them.
OPTIONS
-a Causes the output to be appended to the filenames rather
than overwriting them.
-i Ignores interrupts.
EXAMPLES
The following example writes the output from who on the file
whois as well as printing it on the terminal:
who | tee whois | more
RETURN VALUE
[NO_ERRS] Command completed without error.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
csh(1csh) and sh(1sh).
Printed 4/6/89 1
%%index%%
na:216,110;
sy:326,213;
de:539,462;
op:1001,262;
ex:1263,281;
rv:1544,350;
se:1894,150;
%%index%%000000000121