Finally, you should be aware of the -a flag, which causes which to show you all of the instances of a given program in your PATH:
-a
which
$ which -a ls /usr/bin/ls /bin/ls