Tip 5: tee

From Vlsiwiki
Revision as of 00:11, 6 March 2009 by Mrg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a handy utility that will let you "split" the output of a program. For example, if you want to see the output and also write it to a file.

myprog benchmark1.dat | tee benchmark1.log

Then stdout will display to the screen and to a file.