Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-12 00:18:03 +00:00
parent 4ed84edbe1
commit ffbd8c31db
29 changed files with 244 additions and 70 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`):
`man --html{{=browser_name}} {{command}}`
`man {{[-H|--html=]}}{{browser_name}} {{command}}`
- Display the man page for a command from section 7:
@@ -22,20 +22,20 @@ source: https://github.com/tldr-pages/tldr.git
- List all available sections for a command:
`man --whatis {{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 --where {{command}}`
`man {{[-w|--where]}} {{command}}`
- Display the man page using a specific locale:
`man --locale {{locale}} {{command}}`
`man {{[-L|--locale]}} {{locale}} {{command}}`
- Search for manpages containing a search string:
`man --apropos "{{search_string}}"`
`man {{[-k|--apropos]}} "{{search_string}}"`