man
Sections #
- executables / shell cmds
- system calls
- library calls
- special files (/dev)
- file formats / conventions
- games
- misc
- sys admin / root
- 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
Navigation #
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
- Previous: bash shortcuts
- Next: stdin, stdout, stderr