mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
38 lines
707 B
Bash
38 lines
707 B
Bash
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# man
|
|
|
|
> Format and display manual pages.
|
|
> More information: <https://www.manned.org/man>.
|
|
|
|
- Display the man page for a command:
|
|
|
|
`man {{command}}`
|
|
|
|
- Display the man page for a command from section 7:
|
|
|
|
`man {{7}} {{command}}`
|
|
|
|
- List all available sections for a command:
|
|
|
|
`man -f {{command}}`
|
|
|
|
- Display the path searched for manpages:
|
|
|
|
`man --path`
|
|
|
|
- Display the location of a manpage rather than the manpage itself:
|
|
|
|
`man -w {{command}}`
|
|
|
|
- Display the man page using a specific locale:
|
|
|
|
`man {{command}} --locale={{locale}}`
|
|
|
|
- Search for manpages containing a search string:
|
|
|
|
`man -k "{{search_string}}"`
|