GNU 'which' is an utility that is used to find which executable (or alias or shell function) is executed when entered on the shell prompt.