Man Page Tutorial (man magic)

Sections

man pages are divided into 10 sections:

Some words, like 'open' or 'socket', have pages in multiple sections. By default, man chooses the lower numbered sections. The solution is to explicitly specify the section, like this:

man SECTION PAGE

Searching for Man Pages

whatis WORD
  List all man pages containing exact match of WORD in their title. Note that searching for a singular word (e.g. host) will not find anything containing its plural (hosts).
apropos STRING
  List all man pages containing STRING, as a part of another word or by itself, in the title or in the description. If you get too many results, try whatis.



Back to home