TEE(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

πŸ’– 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 output
  • warn-nopipe β€” diagnose errors writing to any output not a pipe
  • exit β€” exit on error writing to any output
  • exit-nopipe β€” exit on error writing to any output not a pipe
The default MODE for the -p option is 'warn-nopipe'. With "nopipe" MODEs, exit immediately if all outputs become broken pipes. The default operation when --output-error is 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 πŸ™ˆ


🌸 SEE ALSO 🌸


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