[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 16:54:26 +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
and
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
smime.p7s
Description: S/MIME cryptographic signature
- argument precedence, output redirection, Payam Poursaied, 2010/12/03
- Re: argument precedence, output redirection, Greg Wooledge, 2010/12/03
- Re: argument precedence, output redirection, Eric Blake, 2010/12/03
- Re: argument precedence, output redirection, Chet Ramey, 2010/12/03
- Re: argument precedence, output redirection, Marc Herbert, 2010/12/03
- argument precedence, output redirection,
Payam Poursaied <=