On Sun, 17 Apr 2016, at 07:25, Michael Milliman wrote: > Yes, this is the correct incantation. The difference is very subtle. > With ... 2>&1 >/dev/null, the error output is redirected to be the same > as the standard output, and then the standard output is redirected to > /dev/null -- leaving the error output still going to the original > standard output (terminal).
Why is the "2>&1" part needed? Wouldn't stderr go to the terminal by default? -- Jeremy Nicoll - my opinions are my own.