mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 11:35:26 +02:00
man: use long options in examples (#8216)
* man: use long options in examples * man: move long options to /linux/
This commit is contained in:
parent
7d6bd2e6cc
commit
31325d9bd8
1 changed files with 32 additions and 0 deletions
32
pages/linux/man.md
Normal file
32
pages/linux/man.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# man
|
||||
|
||||
> Format and display manual pages.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
|
||||
- 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 --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:
|
||||
|
||||
`man {{command}} --locale={{locale}}`
|
||||
|
||||
- Search for manpages containing a search string:
|
||||
|
||||
`man --apropos "{{search_string}}"`
|
Loading…
Add table
Reference in a new issue