Created
July 5, 2011 13:29
-
-
Save sourcerebels/1064836 to your computer and use it in GitHub Desktop.
Simple shell script for redirecting both standard and error output to /dev/null
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[ $# -gt 0 ] && $* > /dev/null 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment