Difference between revisions of "Tip 5: tee"

From Vlsiwiki
Jump to: navigation, search
(New page: 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 benchmar...)
(No difference)

Revision as of 00:11, 6 March 2009

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.