Novell is now a part of Micro Focus

View output and log to a file

Novell Cool Solutions: Question & Answer

Posted: 21 Apr 2005

I would like to write the output of a script / program to a file but still want to view it on the screen.

Just use the command "tee". It is very easy to use: "your_script | tee output.txt". This will write the output of your_script to output.txt and display it on your screen.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Micro Focus