Linux Journal | Linux Tips
Bits and pieces of Linux tips, tricks and problem resolutions
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment