2014-02-26 21:07:16 -08:00
|
|
|
# man
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
> Format and display manual pages.
|
2024-10-03 07:40:52 +02:00
|
|
|
> More information: <https://manned.org/man>.
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the man page for a command:
|
2014-02-26 21:07:16 -08:00
|
|
|
|
|
|
|
`man {{command}}`
|
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
- Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`):
|
|
|
|
|
|
|
|
`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
|
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the man page for a command from section 7:
|
2018-05-08 08:59:38 -04:00
|
|
|
|
2021-09-13 08:42:11 -04:00
|
|
|
`man {{7}} {{command}}`
|
2018-05-08 08:59:38 -04:00
|
|
|
|
2022-07-05 16:06:45 +08:00
|
|
|
- List all available sections for a command:
|
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`man {{[-f|--whatis]}} {{command}}`
|
2022-07-05 16:06:45 +08:00
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the path searched for manpages:
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`man {{[-w|--path]}}`
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2019-10-12 16:46:52 +01:00
|
|
|
- Display the location of a manpage rather than the manpage itself:
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`man {{[-w|--where]}} {{command}}`
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2021-03-25 22:54:01 +01:00
|
|
|
- Display the man page using a specific locale:
|
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`man {{[-L|--locale]}} {{locale}} {{command}}`
|
2021-03-25 22:54:01 +01:00
|
|
|
|
2019-07-23 18:46:06 +01:00
|
|
|
- Search for manpages containing a search string:
|
2014-02-26 21:07:16 -08:00
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`man {{[-k|--apropos]}} "{{search_string}}"`
|