
May 20th, 2012, 06:29 AM
|
|
|
Quote: | Originally Posted by Squ3lch Yes, the "2>" directs stderr to /dev/null where ">" redirects standard output. |
More to the point, the redirection was moved to within the command ticks. Where it was in the original only related to the variable setting command, not the running of the command. The change to stderr (file 2) is what made the error message be thrown to the bit bucket.
__________________
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
|