Skip to main content
stinky.blog

man

Sections #

  1. executables / shell cmds
  2. system calls
  3. library calls
  4. special files (/dev)
  5. file formats / conventions
  6. games
  7. misc
  8. sys admin / root
  9. kernel routines

To search for a command in a particular section, man # command

man 5 passwd

man returns the first section number for a given command. to see all sections:

man -a passwd

Use / to search

spacebar / pgdown / pgup to scroll

Searching #

Search the NAME field:

man -k [keyword]

or

apropos [keyword]

n for next result, p for previous

mandb #

Search index needs to be built with mandb command (cronjob or manually)

sudo mandb

search returns "nothing appropriate" ? run mandb