Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-23 00:20:07 +00:00
parent a49466c200
commit cd59a77dc8
31 changed files with 239 additions and 130 deletions

View File

@@ -12,26 +12,30 @@ source: https://github.com/tldr-pages/tldr.git
`man {{command}}`
- Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`):
`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
- Display the man page for a command from section 7:
`man {{7}} {{command}}`
- List all available sections for a command:
`man -f {{command}}`
`man {{[-f|--whatis]}} {{command}}`
- Display the path searched for manpages:
`man --path`
`man {{[-w|--path]}}`
- Display the location of a manpage rather than the manpage itself:
`man -w {{command}}`
`man {{[-w|--where]}} {{command}}`
- Display the man page using a specific locale:
`man {{command}} --locale={{locale}}`
`man {{[-L|--locale]}} {{locale}} {{command}}`
- Search for manpages containing a search string:
`man -k "{{search_string}}"`
`man {{[-k|--apropos]}} "{{search_string}}"`