cheat-fork-echo/cheat/cheatsheets/stdout

6 lines
109 B
Text
Raw Permalink Normal View History

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