Ok - can someone explain the following:

[EMAIL PROTECTED]:/tmp$ ls
[EMAIL PROTECTED]:/tmp$ rm abc
rm: cannot remove `abc': No such file or directory
[EMAIL PROTECTED]:/tmp$ rm abc 2>err
[EMAIL PROTECTED]:/tmp$ cat err
rm: cannot remove `abc': No such file or directory
[EMAIL PROTECTED]:/tmp$ rm err
[EMAIL PROTECTED]:/tmp$ rm abc 2>&1 > err
rm: cannot remove `abc': No such file or directory
[EMAIL PROTECTED]:/tmp$ rm abc 2>&1 > /dev/null
rm: cannot remove `abc': No such file or directory

Why can't I silently discard the output of rm?
Am I missing something subtle?
Something obvious?
A vital brain part?

cheers,
jc

Reply via email to