What Is Whereis Command in Unix?

whereis is a command on Unix and Unix-like operating systems used to locate some special files of a command like the binary file, source and manual page files.

What does whereis command do?

The whereis command locates the source, binary, and manuals sections for specified files. The supplied names are first stripped of leading path name components and any (single) trailing extension of the form . ext (for example, . c).

What information does whereis -- help provide about the whereis command?

whereis command is used to find the location of source/binary file of a command and manuals sections for a specified file in Linux system.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.