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), sh(1sh).
Printed 10/17/86 1
%%index%%
na:72,94;
sy:166,153;
de:319,390;
op:709,221;
ex:930,240;
rv:1170,306;
se:1476,116;
%%index%%000000000117