danbarrese
12/13/2016 - 10:35 PM

bash redirects

bash redirects

2> /dev/null # stderr only
1>&2 # stdout -> stderr
2>&1 # stderr -> stdout
&> # both stderr/stdout