whereis

whereis - locate the binary, source, and manual page files for a command.


Display the location of binary, source, and manual page files for a command:

whereis gimp

Display the location of binary :

whereis -b ls

Display the location of manuals :

whereis -m chmod

Display the location of sources :

whereis -s chown

Display the paths that whereis uses for search:

whereis -l

Display command names with unusual entries:

whereis -m -u *