2.8 System Documentation
Linux is self-documenting. Learning how to read the manual is more important than memorizing every flag.
Finding Help
Section titled “Finding Help”man (Manual Pages)
Section titled “man (Manual Pages)”The definitive reference.
- Syntax:
man [command] - Example:
man ls - Navigation:
Space: Next page.b: Previous page./pattern: Search.q: Quit.
--help
Section titled “--help”Most commands support a --help flag for a quick summary.
- Example:
ls --help
GNU project’s detailed documentation system (often more comprehensive than man pages for GNU tools).
- Example:
info coreutils
/usr/share/doc/
Section titled “/usr/share/doc/”Directory containing additional documentation, READMEs, and example configuration files for installed packages.
Searching Manuals
Section titled “Searching Manuals”If you don’t know the command name, search the manual page descriptions.
- Command:
man -k [keyword](Same asapropos) - Example:
man -k "partition"(Lists commands related to partitioning)