Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-16 00:22:14 +00:00
parent 27996b553a
commit 0881b6bcab
25 changed files with 121 additions and 71 deletions

View File

@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
`gzip {{[-d|--decompress]}} {{path/to/file.gz}}`
- Display the name and reduction percentage for each file compressed:
`gzip {{[-v|--verbose]}} {{path/to/file.gz}}`
- Compress a file, keeping the original file:
`gzip {{[-k|--keep]}} {{path/to/file}}`
@@ -32,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
`gzip -{{1..9}} {{[-c|--stdout]}} {{path/to/file}} > {{path/to/compressed_file.gz}}`
- Display the name and reduction percentage for each file compressed or decompressed:
- List the contents of a compressed file:
`gzip {{[-vd|--verbose --decompress]}} {{path/to/file.gz}}`
`gzip {{[-l|--list]}} {{path/to/file.txt.gz}}`