Afficher un message
Vieux 13/03/2008, 16h13   #1
luciosan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut One file for "stout+sterror" and another for "sterror"; it'spossible?

Hi

How can I redirect stout and sterror in a file and only sterror
inanother file at the same time?

For example, If I run the script:
/script.sh >> log.txt 2>&1

It will write in "log.txt" stout and sterror.

But, If I want write stout and sterror in "log.txt" and at the
sametime sterror in "error.log", it's possible?

Thank you.

--
I'm using an evaluation license of nemo since 203 days.
You should really try it!
http://www.malcom-mac.com/nemo

  Réponse avec citation
 
Page generated in 0,10621 seconds with 9 queries