Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-08 00:18:37 +00:00
parent d120c828b4
commit 1581eedcdb
3 changed files with 12 additions and 8 deletions

View File

@@ -10,31 +10,31 @@ source: https://github.com/tldr-pages/tldr.git
- List files one per line:
`eza --oneline`
`eza {{[-1|--oneline]}}`
- List all files, including hidden files:
`eza --all`
`eza {{[-a|--all]}}`
- Long format list (permissions, ownership, size and modification date) of all files:
`eza --long --all`
`eza {{[-al|--all --long]}}`
- List files with the largest at the top:
`eza --reverse --sort={{size}}`
`eza {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}`
- Display a tree of files, three levels deep:
`eza --long --tree --level={{3}}`
`eza {{[-lT|--long --tree]}} {{[-L|--level]}} {{3}}`
- List files sorted by modification date (oldest first):
`eza --long --sort={{modified}}`
`eza {{[-l|--long]}} {{[-s|--sort]}} {{modified}}`
- List files with their headers, icons, and Git statuses:
`eza --long --header --icons --git`
`eza {{[-lh|--long --header]}} --icons --git`
- Don't list files mentioned in `.gitignore`:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Compress the initramfs using the specified compression algorithm (default: gzip):
`mkinitfs -c {{gzip|xz|zstd|lz4|none}}`
`mkinitfs -C {{gzip|xz|zstd|lz4|none}}`
- List files that will be included in the initramfs image:

View File

@@ -13,6 +13,10 @@ source: https://github.com/tldr-pages/tldr.git
`patool extract {{path/to/archive}}`
- Create an archive:
`patool create {{/path/to/archive}} {{/path/to/file1}} {{/path/to/file2}} {{/path/to/dir1/}} {{/path/to/dir2/}}`
- List contents of an archive:
`patool list {{path/to/archive}}`