TEE(1)
π TEE(1) β the one where your output gets duplicated
okay so bestie, this page comes straight out of the General Commands Manual and it's about tee, which is genuinely one of the most underrated little icons in your toolbox. she takes what you pipe into her, copies it into every FILE you name, and also lets it spill out to standard output at the same time. main character energy, honestly β she refuses to choose. π«Ά
β¨ NAME β¨
tee β Copy standard input to each FILE, and also to standard output.
no cap, that's the whole job description and she's thriving. π
πΈ SYNOPSIS πΈ
tee [OPTION]... [FILE]...
π¦ DESCRIPTION π¦
Copy standard input to each FILE, and also to standard output.
that's it. that's the vibe. you feed her something on stdin, she fans it out to every FILE you listed, and still passes it along to stdout so the rest of your pipeline doesn't get abandoned mid-conversation. literal queen behaviour β everyone gets a copy, nobody gets left on read. π β¨
π OPTIONS π
-h,--helpβ print help. the "what do I even do" button, we've all been there bestie π«Ά-a,--appendβ append to the given FILEs, do not overwrite. so nothing you already had gets deleted β she adds to the end instead of steamrolling it. use this one, seriously, protect your data π-i,--ignore-interruptsβ ignore interrupt signals. note that this is ignored on non-Unix platforms β so on those platforms the flag just kinda sits there being decorative π-pβ set write error behavior. also ignored on non-Unix platforms. that's the entire description, she's mysterious like that π--output-errorβ set write error behavior. the actual flavour of that behaviour is picked from these possible values:warnβ produce warnings for errors writing to any outputwarn-nopipeβ produce warnings for errors that are not pipe errors (ignored on non-unix platforms)exitβ exit on write errors to any outputexit-nopipeβ exit on write errors to any output that are not pipe errors (equivalent toexiton non-unix platforms)
-V,--versionβ print version. the classic "wait, which build am I even on" moment β[file]β yep, the file argument, listed right here in the middle of the options like she owns the place. she does. π
π EXTRA π
If a FILE is -, it refers to a file named -.
okay so this is the part where you go "wait, isn't - normally stdout?" β and I hear you, but read it again bestie: a FILE of - here means an actual literal file whose name is -. do not assume the usual magic dash behaviour, she's not doing that on this page. write it down, put it on the fridge. π§
π VERSION π
v(uutils coreutils) 0.12.0
fr fr, the only thing dangerous here isteewithout-aβ that overwrites, and overwriting is how you lose a file you loved. π
okay that's the page!! go pipe something into her, she's obsessed with you already π¦ππ
signing off with the deets: this was v(uutils coreutils) 0.12.0, dated 2026-09-17 β mwah, catch you in the next manpage ππ
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms