rmvinodh123
04-12-2007, 03:03 AM
I want the o/p of a program to be displayed on the terminal as well as in a file.
Tee command does this but, if an error occurs in the program it is only displayed on the terminal and not in the file.How to make tee read from stderr as well or is there any other way to do this.
Please help.
Tee command does this but, if an error occurs in the program it is only displayed on the terminal and not in the file.How to make tee read from stderr as well or is there any other way to do this.
Please help.