Do you know the difference between the following Bash commands?

program 2>&1 >/tmp/log.txt
program >/tmp/log.txt 2>&1

If not, you might be interested in my latest blog post Bash Redirects Explained.