whereis <Filename>
Locate the binary, source, and manual page files for a command
Arguments
Name | Description |
---|
Filename | The file to search for |
Options
Name | Description |
---|
-b | Search only for binaries |
-m | Search only for manual sections |
-s | Search only for sources |
-u | Search 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 |
-f | Terminate the -B, -M, and -S options |