Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-24 00:21:36 +00:00
parent 4e6886aa1f
commit 70f6f2ac08
27 changed files with 174 additions and 69 deletions

View File

@@ -29,3 +29,11 @@ source: https://github.com/tldr-pages/tldr.git
- Display number of occurrences of each line, sorted by the most frequent:
`sort {{path/to/file}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}`
- Compare only the first 10 characters on each line for uniqueness:
`sort {{path/to/file}} | uniq {{[-w|--check-chars]}} 10`
- Compare text after the first 5 characters on each line for uniqueness:
`sort {{path/to/file}} | uniq {{[-s|--skip-chars]}} 5`