Example: To locate binary of a Linux command let%u2019s say gunzip.
-m : This option is used when we only want to search for manual sections.
Example: To locate man page of false command.
-B: This option is used to change or otherwise limit the places where whereis searches for binaries.
Example: To locate binary of lesspipe in the path, /bin.
-M: This option is used to change or otherwise limit the places where whereis searches for manual sections.
Example: To check the man page of intro that is only in a specific location i.e. /usr/share/man/man1.
-S: This option is used to change or otherwise limit the places where whereis searches for sources.
Example: To Find all files in /usr/bin which are not documented in /usr/man/man1 with source in /usr/src.
-V: Displays version information and exit.
-h: Displays this help and exit.
Name | Views | Likes |
---|---|---|
Usermod command in Linux | 4513 | 1 |
SSH Command In Linux | 788 | 7 |
Introduction to Named Pipes | 1058 | 3 |
Linux KILL Command | 2783 | 5 |
Soft Link and Hard Link In Linux | 421 | 2 |
Vi Editor in Linux | 594 | 6 |
FDisk Command in Linux | 540 | 5 |
How to view the History in Linux | 448 | 2 |
Process Manipulation in Linux | 1614 | 4 |
Export command in Linux | 411 | 1 |
ID command in Linux | 413 | 1 |
Netstat Command in Linux | 624 | 3 |
Chmod Command in Linux | 437 | 1 |
Compressing Files in Linux | 355 | 1 |
Crontab in Linux | 477 | 1 |
File Manipulation in Linux | 615 | 5 |
Curl Command in Linux | 505 | 1 |
Env Command in Linux | 398 | 5 |
LSOF Command in Linux | 406 | 1 |
User Manual in Linux | 433 | 1 |
Whereis command in Linux | 437 | 1 |
4 Lesser Known Commands in Linux | 468 | 6 |
Shell Scripting in Linux | 632 | 4 |
Alias command in Linux | 373 | 1 |
How to Kill a Process using Command Line | 471 | 3 |
Comments