or if ordinary and error output should be merged but appear in correct historic order...myprog.pl > log.txt 2> errlog.txt
myprog.pl > log.txt 2>&1
-M
Free your mind
In reply to Re: Redirecting STDOUT
by Moron
in thread Redirecting STDOUT
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |