System documentation (man, info)
Overview
man pages: command reference, options, examples
- GNU
info: hyperlinked manuals (common for GNU tools)
- Other sources:
/usr/share/doc, --help, online docs
man basics
- Open:
man <command>
- Search within:
/pattern then n / N
- Show sections:
man 5 passwd (file formats), man 1 ls (commands)
- Find man page:
man -k <keyword> (apropos)
info basics
- Open:
info <topic>
- Navigation:
n next, p prev, u up, q quit
Quick tips
- Many tools support:
<cmd> --help and <cmd> --version
- Learn config locations via:
man <cmd> then search for “FILES”