Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Write STDERR To A File Instead Of A Terminal

- The command works in some shells (e.g. bash and zsh) but not others (e.g. sh and ksh). If it doesn't work, try :

command > output.txt 2 > &1

(There can't be a space between the [TODO: Code shorthand span ] and [TODO: Code shorthand span ] characters)

- Sending STDOUT to one file and STDERR to another is done with :

command > output.txt 2 > error.txt

Footnotes And References