whereis [options] nameArguments explained
- name is the command or file to locate.
- -b searches binaries only.
- -m searches manual files only.
Common examples
whereis sshShows binary and manual page locations for ssh.
whereis -b systemctlLimits output to executable paths.
| Field | Details |
|---|---|
| Command | whereis |
| Category | Search and Filtering |
| Primary use | Locates binaries, source, and manual files. |
| Syntax | whereis [options] name |