4
votes
3answers
96 views

Where does the output from an application started from the window manager go?

If you start an application from a terminal you can see the output to stdout and stderr, but if an application is started from the window manager, where does the output to these files typically go? To ...
4
votes
2answers
805 views

GNU screen: print a detached session to stdout

I just want to have a quick overview of my detached GNU screen sessions. Is it possible to dump the current content to stdout ? Something like screen --print SESSION_NAME > file.txt
1
vote
1answer
265 views

selective stdout , stderr and logging using the script command [duplicate]

Possible Duplicate: Show only stderr on screen but write both stdout and stderr to file stdout , stderr and logging using the script command cat test.sh: rm -v foo.tmp date pwd cat ...
1
vote
2answers
324 views

stdout , stderr and logging using the script command

I have remove.sh which contains: rm -v test.tmp And I have install.sh which contains: script remove.log -c './remove.sh' What can I do so that whether or not test.tmp exists, I don't see any rm ...
1
vote
1answer
61 views

Can I use tail with a file both as input and destination?

I have a log file that gets big fast. I tried using tail with this syntax but it didn't work. tail logfile.log -n 100000 > logfile.log The output file is 0 bytes and blank. What am I doing ...