| tee A command which copies its to its (like ) but also to a file given as its argument. tee is thus useful in s of commands (see ) 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. : tee(1). [] (1996-01-22) |