Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-27 00:18:38 +00:00
parent 5871f35fe8
commit 9fe6559a97
123 changed files with 660 additions and 357 deletions

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Convert 1.5K (SI Units) to 1500:
`numfmt --from=si 1.5K`
`numfmt --from si 1.5K`
- Convert 5th field (1-indexed) to IEC Units without converting header:
`ls -l | numfmt --header=1 --field=5 --to=iec`
`ls -l | numfmt --header=1 --field 5 --to iec`
- Convert to IEC units, pad with 5 characters, left aligned:
`du -s * | numfmt --to=iec --format="%-5f"`
`du {{[-s|--summarize]}} * | numfmt --to iec --format "%-5f"`