Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: J Price on April 16, 2003, 04:21:47 AM
-
I am trying to get a script to output its results to both the console and a log file simultaneously. But, I cannot figure out the comman line syntax to do it.
i.e.
# ./script > /dev/console
# ./sciprt > /var/log/script.log
How can you do this at the same time.
Anyone know?
Thanks
-James
-
Nevermind..I found it.
command | tee filename
-James