23 Aug
2015
23 Aug
'15
12:33 a.m.
Hi Robert, I believe the &> redirection operator is bash specific and means to simultaneouly redirect both stdout and stderr. So, these two statements should be the same: >/dev/null 2>&1 &>/dev/null As you have listed below, the 2>&1 is redundant on the second statement. 73, David KB4FXC On Sat, 22 Aug 2015, Robert Newberry wrote:
I appreciate all of the replies. So is there any difference between these two? I have both in my cron and most of that has come from different scripts I've used.
/dev/null 2>&1
&> /dev/null 2>&1
N1XBM Apparare Scientor Paratus Communicare Allstar Node # 27086, 41540, 41812, 42086