5 ms·
Yeah this is the crazy thing about shell redirect syntax 2>&1 # descriptor redirect 2>& 1 # identical to above 2 >&1 # runs a command "2" and th
by chubot 5y ago
Yeah this is the crazy thing about shell redirect syntax
2>&1 # descriptor redirect
2>& 1 # identical to above
2 >&1 # runs a command "2" and then does a descriptor redirect
And likewise for
2>1
2> 1
2 >1
The 2 is really part of the operator, but the 1 isn't !