mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 23:48:21 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/eza
14
tldr/eza
@@ -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`:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user