whereis
whereis locates the binary, source and manual files for the specified command names.

whereis
which
which returns the pathnames of the files (or links) which would be executed in the current environment, had its arguments been given as commands in a strictly POSIX-conformant shell.
which -a filename
-a, print all matching pathnames of each argument.
type
Display information about command type. For each NAME, indicate how it would be interpreted if used as a command name.
type