Tagged Questions
1
vote
1answer
168 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
237 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 ...