|
|
This directory of Linux commands is from Linux in a Nutshell, 5th Edition. Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf. Buy it now, or read it online on Safari Bookshelf. whereiswhereis [options] files Locate the binary, source, and manual page files for specified commands/files. The supplied filenames are first stripped of leading pathname components and any (single) trailing extension of the form .ext (for example, .c). Prefixes of s. resulting from use of source code control are also dealt with. whereis then attempts to locate the desired program in a list of standard Linux directories (/bin, /etc, /usr/bin, /usr/local/bin/, etc.). Options
ExampleFind all files in /usr/bin that are not documented in /usr/share/man/man1 but that have source in /usr/src: $ cd /usr/bin $ whereis -u -M /usr/share/man/man1 -S /usr/src -f * |
|
|
|
|
|
Sponsored by: |