gwhich

v 2.21 Updated: 4 months, 2 weeks ago

GNU Which - Everything you never wanted in a which

Which is a utility that prints out the full path of the executables that bash would execute when the passed program names would have been entered on the shell prompt. It does this by using the exact same algorithm as bash. Tildes and a dot in the PATH are now expanded to the full path by default. Options allow to rather print '~/*' or './*' and/or to print all executables that match any directory in PATH.

https://carlowood.github.io/which/

To install gwhich, paste this in macOS terminal after installing MacPorts

sudo port install gwhich

Add to my watchlist

Installations 14
Requested Installations 13