Apropos


From Linuxconfig.org

Jump to: navigation, search

.. back to the list of Linux Commands

Name

apropos - search the manual page names and descriptions

Synopsis - man page

apropos  [-dhV] [-e|-w|-r] [-s section] [-m system[,...]] [-M path] [-C file] keyword ...

Frequently used options

-s section, --section section
              Search only the given manual section.
-e, --exact
              Each  keyword will be exactly matched against the page names and
              the descriptions.

Examples

This command searches keyword in command description. What commands are related to partitions:

$ apropos partition
Image:apropos01.gif

or what was the command that I used yesterday to scan all ports on my server:

$ apropos scanner
Image:apropos02.gif

search for commands only in the manual section 1

$ apropos -s 1 partition
Image:apropos03.gif

match only exact words:

$ apropos -e scan
Image:apropos04.gif

number of outputs with and without -e option:

Image:apropos05.gif

.. back to the list of Linux Commands

Personal tools
Linux Commands