macOS / binaries /

pwhich

/usr/bin/pwhich
Perl-only 'which'

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

source: man