Hi Michael,
Thanks a lot for your help.

Two constructs:
" > /dev/null 2>&1"
"2>&1 > /dev/null"

I'm not sure whether I understood you:

" > /dev/null 2>&1":
#2 in this construct will be written to the same place that &1 is
written to: /dev/null 

"2>&1 > /dev/null":
the result of the construct seems to be the same for me as in the 
first case (both #2 and &1 being deleted), but in this case, after 
the command has written its output to #2, the latter (#2) will be 
written to &1 *and* thus will be deleting &1 before it (i.e. #2)
will be sent to /dev/null ...

I understand now: the result of both constructs is the *same*, but 
you seem to be disagreeing: "That ["2>&1 > /dev/null"] probably 
won't do what you want and certainly does NOT do what's above 
[i.e." > /dev/null 2>&1", and I didn't understand the rest of your
sentence - important? - :] (unless stdout was aleady directed 
to /dev/null)."

Again: thanks, and my apologies for taking much of your time. 

And please note that the command I'm running in my crontab is
already doing what I want ... to understand now what it actually
does is perhaps pure luxury ... )

Regards
Wolfgang

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to