$ perl buggy_code.pl > /dev/null # Send all nonwarnings to bit bin $ perl buggy_code.pl 2> errors.txt # send errors to a file
--tidiness is the memory loss of environmental mnemonics
In reply to Re: how can I redirect the output of a program and get the exit code too?
by EvdB
in thread how can I redirect the output of a program and get the exit code too?
by vikee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |