Created
March 29, 2011 16:06
-
-
Save jodell/892643 to your computer and use it in GitHub Desktop.
redirection reminders
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
2>null # silence stderr | |
># # silence stdout | |
2>&1 # redirect stderr to stdout | |
1>&2 # redirect stdout to stderr | |
1><2 # swap stdout and stderr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment