arek2's comments

arek2 | 12 years ago | on: What I learned from others' shell scripts

All right, but he wrote: "The 2>&1 > /dev/null puts both output stream and error stream to /dev/null (which means nothing printed on console).". So the intention was different.

PS. I think "which" will never produce anything on stderr

page 2