Most Linux and BSD distributions ship with the locate utility, which allows you to quickly find files on a system:
$ locate pvcreate
/usr/sbin/pvcreate
/usr/share/man/man8/pvcreate.8.gz
While not quite as thorough as locate, the Solaris pkgchk utility has a “-P” option that provides similar capabilities:
$ pkgchk -l -P metastat | grep Pathname
Pathname: /sbin/metastat
Pathname: /usr/sbin/metastat
Pathname: /usr/share/man/man1m/metastat.1m
Nice!