WoofyDugfock


Group: Members
Posts: 146
Joined: Sep. 2004 |
 |
Posted: April 28 2005,19:15 |
 |
Also: for applications that write some or all of their messages to stderror in addition to/instead of stdout, I find it useful to do the above except put an ampersand & in front of the redirect ie
application &>foobar.txt
to send all the output to file instead of the screen.
If you want to see the stuff on screen as well, use a pipe to tee:
application | tee foobar.txt
-------------- "We don't need no stinkin' Windows"
http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
|