whereis <Filename>

Locate the binary, source, and manual page files for a command

Arguments

NameDescription
FilenameThe file to search for

Options

NameDescription
-bSearch only for binaries
-mSearch only for manual sections
-sSearch only for sources
-uSearch for unusual entries
-B <directory>Search for binaries only in the specified directory
-M <directory>Search for manual pages only in the specified directory
-S <directory>Search for sources only in the specified directory
-fTerminate the -B, -M, and -S options