66 lines
531 B
Plaintext
66 lines
531 B
Plaintext
|
|
|
|
|
|
|
|
|
|
Command: whereis - examine system directories for a given file
|
|
Syntax: whereis file
|
|
Flags: (none)
|
|
Example: whereis stat.h # Prints: /usr/include/sys/stat.h
|
|
|
|
Whereis searches a fixed set of system directories, /bin, /lib,
|
|
/usr/bin, and others, and prints all occurrences of the argument name in
|
|
any of them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|