TEE(1)
π NAME π
tee β read from standard input and write to standard output and files π«Ά
(also hi bestie, this is tee(1) from the User Commands section of the manual, she's iconic, let's go π
)
β¨ SYNOPSIS β¨
tee [OPTION]... [FILE]...
π DESCRIPTION π
Okay so the whole vibe: tee copies standard input to each FILE, and ALSO to standard output. Yes bestie, both at once, that's literally her whole thing, she's a splitter, a divider, a duplicator of streams. π
β¨ OPTIONS β¨
-a,--appendβ append to the given FILEs, do not overwrite. (write-over is cancelled, we're adding to the end now π)-i,--ignore-interruptsβ ignore interrupt signals π€-pβ operate in a more appropriate MODE with pipes--output-error[=MODE]β set behavior on write error. See MODE below π--helpβ display this help and exit--versionβ output version information and exit
MODE determines behavior with write errors on the outputs:
warnβ diagnose errors writing to any outputwarn-nopipeβ diagnose errors writing to any output not a pipeexitβ exit on error writing to any outputexit-nopipeβ exit on error writing to any output not a pipe
The default MODE for the-poption is'warn-nopipe'. With "nopipe" MODEs, exit immediately if all outputs become broken pipes. The default operation when--output-erroris not specified, is to exit immediately on error writing to a pipe, and diagnose errors writing to non pipe outputs. π’ no cap, that's the whole rule, memorise it bestie
π AUTHOR π
Written by Mike Parker, Richard M. Stallman, and David MacKenzie. legends fr fr π
π¦ REPORTING BUGS π¦
Found a bug? Not me, not you, but like... report it π
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page:
https://www.gnu.org/software/coreutils/ - General help using GNU software:
https://www.gnu.org/gethelp/ - Report any translation bugs to:
https://translationproject.org/team/
πΈ SEE ALSO πΈ
- Full documentation:
https://www.gnu.org/software/coreutils/tee - or available locally via:
info '(coreutils) tee invocation'
Packaged by Ubuntu (9.10-1ubuntu2) Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
okay that's the whole page slayed π
this was GNU coreutils 9.10, August 2026, page TEE(1) β ily, go pipe something into two places at once π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms