[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

argument precedence, output redirection

From: Payam Poursaied
Subject: argument precedence, output redirection
Date: Fri, 3 Dec 2010 18:16:06 +0330

Hi all,
I'm not sure this is a bug or please let me know the concept:
What is the difference between:
ls  -R /etc/ 2>&1 1>/dev/null
ls -R /etc/ 1>/dev/null 2>&1
the second one redirect everything to /dev/null but the first one, still
prints errors (run as a non root user would unveil the problem)
it the order of arguments important? If yes, what is the idea/concept behind
this behavior?

Best Regards

Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]