Very much like where except that it will search for any program and show you where they all are, including manpages:
samizdata# where ls /bin/ls samizdata# whereis ls ls: /bin/ls /usr/share/man/man1/ls.1.gz
See also: where