Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-19 00:19:39 +00:00
parent 9cb77296ba
commit 2442abf01b
4 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Decompress a `gzip` archive specifying the output filename:
`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{path/to/file.gz}} > {{path/to/uncompressed_file}}`
`gzip {{[-cd|--stdout --decompress]}} {{path/to/file.gz}} > {{path/to/uncompressed_file}}`
- Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default:
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display the name and reduction percentage for each file compressed or decompressed:
`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{path/to/file.gz}}`
`gzip {{[-vd|--verbose --decompress]}} {{path/to/file.gz}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Modify default ACL of a file for all users:
`setfacl {{[-m|--modify]}} {{[-d|--default]}} u::rw {{path/to/file_or_directory}}`
`setfacl {{[-d|--default]}} {{[-m|--modify]}} u::rw {{path/to/file_or_directory}}`
- Remove ACL of a file for a user:

View File

@@ -14,11 +14,11 @@ 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 {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
`man {{[-H|--html=]}}{{browser_name}} {{command}}`
- Display the man page for a command from section 7:
`man {{7}} {{command}}`
`man 7 {{command}}`
- List all available sections for a command:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sudo
> Executes a single command as the superuser or another user.
> Execute a single command as the superuser or another user.
> More information: <https://www.sudo.ws/sudo.html>.
- Run a command as the superuser: