whence [–v] name …
whence tells how the shell would interpret each name if used as a command name. Shell keywords, aliases, functions, built-in commands, and executable files are distinguished. For executable files, the full path name is given. If the executable file is a tracked alias, the string identifies it as cached.
whence is a built-in shell command.
See Localization for more information.
POSIX.2.
command, sh