essential-manpages
The Most Important Manpages
As an appendix, or printed reference, list of the top ten manpages?
man re_pattern
- basic and extended regex patternsman test
is an excellent way to quickly check common tests (existence of a file etc)man set
is super useful when checking options likeset -ex
in scriptsman re_format
man getopt
man XXX
show signal commands (Ctrl+V
etc)man bash
search forARITHMETIC\ EVALUATION
to find how arithmetic operators work in bashman bash
searchGRAMMAR
for pipelines, if statements, conditionals, loops, lists and so onman bash
search for^EXPANSION
to see all shell expansion operatorsman bash
search for^INVOCATION
to find details on startup and the startup files that are readman bash
search for^[ ]+shopt
to find descriptions of shell options
Essential Bash Manpages
Manpage | Search | Description |
---|---|---|
man bash | ^PROMPTING | Details on how to set the PS1 prompt. |
Essential Z-Shell Manpages
Manpage | Search | Description |
---|---|---|
man zshmisc | PROMPT\ SEQUENCES | Details on how to set the PS1 prompt. |