TEE(1) — UNIX Programmer’s Manual
NAME
tee − pipe fitting
SYNOPSIS
tee [ −i ] [ −a ] [ file ] ...
DESCRIPTION
Tee transcribes the standard input to the standard output and makes copies in the files. Option −i ignores interrupts; option −a causes the output to be appended to the files rather than overwriting them, if the standard input is from the keyboard (not a file).
EXAMPLE
make | tee x
will cause the output of the make program to be recorded on file x as well as printed on standard output.
7th Edition — 1/22/82