commands
man — read manual pages
man-db manual reader. Requires installed manual pages; a section limits the search to a class of documentation. Pager settings determine interaction. Section 1 is commands and section 5 is file formats.
Formal Syntax & Structure
linux syntaxlinux
man [OPTION]... [[SECTION] PAGE ...]Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| -k | option | Search indexed names/descriptions like apropos |
| -f | option | Short descriptions like whatis |
| SECTION | operand | Manual section |
| PAGE | operand | Page name |
Return Value
text and exit status
Displays selected pages using a pager; nonzero on errors such as missing pages.
Working Example
Example Snippetlinux
man 1 ls