TEE(1)TEE(1)
tee – pipe fitting
tee [ -i ] [ -a ] files
Tee transcribes the standard input to the standard output and makes copies in the files. The options are
Ignore interrupts.
Append the output to the files rather than rewriting them.
/sys/src/cmd/tee.c