2014-02-27 05:07:16 +00:00
|
|
|
# man
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Format and display manual pages.
|
2024-06-18 16:06:14 +01:00
|
|
|
> More information: <https://www.manned.org/man>.
|
2014-02-27 05:07:16 +00:00
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the man page for a command:
|
2014-02-27 05:07:16 +00:00
|
|
|
|
|
|
|
`man {{command}}`
|
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the man page for a command from section 7:
|
2018-05-08 13:59:38 +01:00
|
|
|
|
2021-09-13 13:42:11 +01:00
|
|
|
`man {{7}} {{command}}`
|
2018-05-08 13:59:38 +01:00
|
|
|
|
2022-07-05 09:06:45 +01:00
|
|
|
- List all available sections for a command:
|
|
|
|
|
|
|
|
`man -f {{command}}`
|
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the path searched for manpages:
|
2014-02-27 05:07:16 +00:00
|
|
|
|
|
|
|
`man --path`
|
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the location of a manpage rather than the manpage itself:
|
2014-02-27 05:07:16 +00:00
|
|
|
|
|
|
|
`man -w {{command}}`
|
|
|
|
|
2021-03-25 21:54:01 +00:00
|
|
|
- Display the man page using a specific locale:
|
|
|
|
|
|
|
|
`man {{command}} --locale={{locale}}`
|
|
|
|
|
2019-07-23 18:46:06 +01:00
|
|
|
- Search for manpages containing a search string:
|
2014-02-27 05:07:16 +00:00
|
|
|
|
2020-11-01 13:40:05 +00:00
|
|
|
`man -k "{{search_string}}"`
|