cheat/cheatsheets/stdout
2013-08-22 11:34:11 +10:00

6 lines
109 B
Plaintext

# To redirect stderr to stdout:
some-command 2>&1
# To redirect stderr to a file
some-command 2> errors.txt