Sunday, April 17, 2005

Supressing error messages

./my_script 2>/dev/null

If it still outputs stuff you it's probably not an error but rather STDOUT, so suppress that like this:

./my_script 1>/dev/null
Post a Comment