I have a program called PyMOL installed multiple times on my machine. One was installed by MacPorts, one was installed through the developers distribution channel and so on. One is in /opt/local/bin, the other is in /i/have/no/clue.
I know I can use "which pymol" to see, where the one that is executed is located, but how can I get the location of the other ones with the same name?
which -a foo
will tell you the default. – TJ Luoma Sep 10 '13 at 20:19