Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-23 00:19:46 +00:00
parent 0cc7cfe867
commit 058ce19122
64 changed files with 437 additions and 86 deletions

View File

@@ -24,10 +24,10 @@ source: https://github.com/tldr-pages/tldr.git
`du -ah {{path/to/directory}}`
- List the human-readable sizes of a directory and any subdirectories, up to N levels deep:
- List the human-readable sizes of a directory and any subdirectories, up to `n` levels deep:
`du -h -d {{2}} {{path/to/directory}}`
`du -h -d {{n}} {{path/to/directory}}`
- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end:
`du -ch {{*/*.jpg}}`
`du -ch */*.jpg`