man.lsPlain-English help for Unix commands

man Read the manual page for a command

Opens the built-in manual for a command, file format or system call. It is the first place to check what a flag does on your own system. Pages open in a pager, so press q to quit.

Synopsis

man [SECTION] name
man -k keyword

Common options

Option or formWhat it does
SECTIONA section number placed before the name, for example man 5 crontab. It picks which manual to read when a name exists in several
-k, aproposSearch page names and one-line descriptions for a keyword. man -k keyword is the same as apropos keyword
-fShow the short description of a page (the same as whatis)
-wPrint the path of the page file instead of showing it
-aShow every matching page, one after another, not just the first

Examples

Read the manual for ls
man ls
See the first lines of a page without the pager
man ls | head -n 5
Read the file-format page for crontab, not the command
man 5 crontab
Find pages that mention a word
man -k crontab
Search inside a page: press / then type a word
man grep

Notes

See also

Last reviewed 2026-10-07.