pwhich is a command-line utility program for finding paths to other programs based on the user's PATH.