man

Table of Contents

1. Learn about section number

Section numbers goes from 1 to 9, see man(1) for more info

man 8 intro

2. Cycle through a program available manpages

man -a passwd

3. Display manpage section number for program

man 5 passwd
man passwd.5
man passwd(5)

4. Search keyword in manpages name and short description

man -k passwd

4.1. Search keyword in manpages section number

Search for keyword user and filter the output by system administration manpages (section 8)

man -k user | grep 8

4.2. If the command returns “user: nothing approriate”

See mandb(8) for more info

4.2.1. Update the manpages index caches

sudo mandb

4.2.2. Force the recreation of manpages index caches

sudo mandb -c