which

Locate a program in the user's path. More information: https://manned.org/which.

which executable

which -a executable