Search and Filtering

whereis

Locates binaries, source, and manual files.

whereis searches standard locations for executable, source, and man page files related to a command.

Syntax
whereis [options] name

Arguments explained

  • name is the command or file to locate.
  • -b searches binaries only.
  • -m searches manual files only.

Common examples

Find command resources
whereis ssh

Shows binary and manual page locations for ssh.

Find only binaries
whereis -b systemctl

Limits output to executable paths.

whereis Command
FieldDetails
Commandwhereis
CategorySearch and Filtering
Primary useLocates binaries, source, and manual files.
Syntaxwhereis [options] name