Get the Most Out of Your Open-Source Software With Redirection in Bash
Mar 15, 2010, 19:34 (0 Talkback[s])
(Other stories by Juliet Kemp)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >
"It took me ages to learn bash redirection properly, and I still
have to concentrate sometimes to keep my &s and my >s
straight. Here's the lowdown in case you, too, have intermittent
brain failure on this one.
"Bash has three standard file descriptors: stdin, stdout and
stderr, which refer respectively to input, output and error output.
By default, all of these are directed to the terminal, so all input
comes from the terminal, and all output (regular and error) will go
to the terminal."