Back to the command reference

whereis

HelpBeginner In simulator In real Linux

Locate the binary, source and manual of a command

Name: whereis: where is it

You can practise it right away in the simulator, and use it in real Linux mode too.

Description

whereis looks in standard locations for a command's binary, source and manual pages and lists them all.

Syntax

whereis [OPTION]... NAME...

Common options

-bBinaries only
-mManuals only
-sOnly source files

Examples

  • $ whereis ls

    Where the binary and manual are

    Explain

Related