Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap


You are here: irt.org | FOLDOC | tee

<tool, operating system> A Unix command which copies its standard input to its standard output (like cat) but also to a file given as its argument. tee is thus useful in pipelines of Unix commands (see plumbing) where it allows you to create a duplicate copy of the data stream. E.g.

	egrep Unix Dictionary | tee /dev/tty | wc -l

searches for lines containing the string "Unix" in the file "Dictionary", prints them to the terminal (/dev/tty) and counts them.

Unix manual page: tee(1).

[Jargon File]


Nearby terms: Technology of Object-Oriented Languages and Systems « TechRef « TECO « tee » TEI » telco » TELCOMP

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb