which <executable>
#Example:
which sudo
# sudo : acronym for superuser do or substitute user do
## sudo runs an elevated prompt without a need to change your identity.
## Depending on your settings in the /etc/sudoers file :
### you can issue single commands as root or as another user.