mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 07:49:49 +00:00
Update cheatsheets
This commit is contained in:
41
linux/man
Normal file
41
linux/man
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# man
|
||||
|
||||
> Format and display manual pages.
|
||||
> More information: <https://manned.org/man>.
|
||||
|
||||
- Display the man page for a command:
|
||||
|
||||
`man {{command}}`
|
||||
|
||||
- Open the man page for a command in a browser:
|
||||
|
||||
`man --html {{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 --locale={{locale}} {{command}}`
|
||||
|
||||
- Search for manpages containing a search string:
|
||||
|
||||
`man --apropos "{{search_string}}"`
|
||||
Reference in New Issue
Block a user