The redirection
>/dev/null 2>&1
first directs stdout to /dev/null,
then directs stderr to whatever stdout is currently directed to.
If, for instance, stdout starts out being directed to /tmp/file1
and stderr starts out being directed to /tmp/file2, then
>/dev/null 2>&1
will result in both stdout and stderr directing to /dev/null
On the other hand, he redirection
2>&1 >/dev/null
first directs stderr to whatever stdout is currently directed to,
then directs stdout to /dev/null.
If, for instance, stdout starts out being directed to /tmp/file1
and stderr starts out being directed to /tmp/file2, then
2>&1 >/dev/null
will result in both stderr being directed to /tmp/file1, and
stdout being directed to /dev/null
HTH
--
Lew Pitcher
"In Skills We Trust"