2022-07-19 03:15:19 +01:00
|
|
|
# man
|
|
|
|
|
|
|
|
> Format and display manual pages.
|
2022-10-19 23:34:24 +01:00
|
|
|
> More information: <https://manned.org/man>.
|
2022-07-19 03:15:19 +01:00
|
|
|
|
|
|
|
- Display the man page for a command:
|
|
|
|
|
|
|
|
`man {{command}}`
|
|
|
|
|
2024-02-06 14:10:45 +00:00
|
|
|
- Open the man page for a command in a browser:
|
|
|
|
|
|
|
|
`man --html {{command}}`
|
|
|
|
|
2022-07-19 03:15:19 +01:00
|
|
|
- Display the man page for a command from section 7:
|
|
|
|
|
|
|
|
`man {{7}} {{command}}`
|
|
|
|
|
|
|
|
- List all available sections for a command:
|
|
|
|
|
|
|
|
`man --whatis {{command}}`
|
|
|
|
|
|
|
|
- Display the path searched for manpages:
|
|
|
|
|
|
|
|
`man --path`
|
|
|
|
|
|
|
|
- Display the location of a manpage rather than the manpage itself:
|
|
|
|
|
|
|
|
`man --where {{command}}`
|
|
|
|
|
|
|
|
- Display the man page using a specific locale:
|
|
|
|
|
2022-09-06 15:29:07 +01:00
|
|
|
`man --locale={{locale}} {{command}}`
|
2022-07-19 03:15:19 +01:00
|
|
|
|
|
|
|
- Search for manpages containing a search string:
|
|
|
|
|
|
|
|
`man --apropos "{{search_string}}"`
|