man Manual page lookup
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
man <command>
man -k <word>
man <n> <name>
/<text>n / Nq<command> --help
help <builtin>
Concepts
| Section | Holds |
|---|---|
1 |
User commands |
2 |
System calls |
3 |
Library functions |
4 |
Devices and special files |
5 |
File formats and config |
6 |
Games |
7 |
Overviews and conventions |
8 |
Admin commands |
- Do not know the name a topic or word
- Pick a hit name (section)
- Read the page in the pager
- Find the option or example
Opening Pages
man <name>
man <section> <name>
man -a <name>
man -l <file>
man -w <name>
man -aw <name>
man <name> <sub>
man -P <pager> <name>
man -P cat <name>
man -I <name>
MANWIDTH=80 man <name>
Searching Pages
man -k <word>
apropos <word>
man -f <name>
whatis <name>
man -k <word> -s <n>
man -k '^<prefix>'
man -k --names-only <word>
man -k --wildcard '<glob>'
man -K <text>
mandbInside the Pager
Space / bj / kg / G/<text>?<text>n / N&<text>
hq/^ *-<x>/^SYNOPSISMANPAGER='less -R +Gg'
Other Help Sources
<command> --help
help <builtin>
helptype <name>
which <name>
info <topic>
ls /usr/share/doc/<pkg>
tldr <command>
man manman 7 man-pagescompgen -bReading a Page
| Written | Means |
|---|---|
[x] |
optional |
<x> or x in italics |
replace with a value |
a | b |
pick one |
x ... |
can repeat |
Recipes
man -k 'copy file'man -f cpman 1 cp# /^ *-r then n
man -aw printfman -f printfman 3 printf
man ls | col -bx > ls.txt# or: MANWIDTH=80 man -P cat ls > ls.txt
man -P cat tar | grep -n -- '--exclude'tar --help | grep -- --exclude



