Tee for two
Submitted by srlinuxx on Tue, 01/23/2007 - 07:04.
For all the console warriors out there I am sure you know about shell redirection and piping the output of commands to another command or to a file. Those pipes are not made of glass so if you want to monitor the data as it flows through the pipe you are out of luck. There is a solution.
Tee is a great little program if you want to both record the output of a running program to a file and at the same time see the same output on the screen in real time. With standard shell redirection you can either see the output on the screen or pipe the output to a file. You can't do both.
Where can tee be useful?


Recent comments
5 hours 10 min ago
7 hours 17 min ago
8 hours 34 min ago
8 hours 35 min ago
8 hours 40 min ago
9 hours 52 min ago
13 hours 10 min ago
19 hours 36 min ago