1

Difference between 2>&-, 2>/dev/null, |&, &>/dev/null and >/dev/null 2>&1

view story
linux-howto

http://unix.stackexchange.com – Just looking for the difference between 2>&-, 2>/dev/null, |&, &>/dev/null and >/dev/null 2>&1 and their portability with non-Bourne shells like tcsh, mksh, etc. (HowTos)