mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 05:55:46 +00:00
Update cheatsheets
This commit is contained in:
41
exa
Normal file
41
exa
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# exa
|
||||
|
||||
> A modern replacement for `ls` (List directory contents).
|
||||
> More information: <https://the.exa.website>.
|
||||
|
||||
- List files one per line:
|
||||
|
||||
`exa --oneline`
|
||||
|
||||
- List all files, including hidden files:
|
||||
|
||||
`exa --all`
|
||||
|
||||
- Long format list (permissions, ownership, size and modification date) of all files:
|
||||
|
||||
`exa --long --all`
|
||||
|
||||
- List files with the largest at the top:
|
||||
|
||||
`exa --reverse --sort={{size}}`
|
||||
|
||||
- Display a tree of files, three levels deep:
|
||||
|
||||
`exa --long --tree --level={{3}}`
|
||||
|
||||
- List files sorted by modification date (oldest first):
|
||||
|
||||
`exa --long --sort={{modified}}`
|
||||
|
||||
- List files with their headers, icons, and Git statuses:
|
||||
|
||||
`exa --long --header --icons --git`
|
||||
|
||||
- Don't list files mentioned in `.gitignore`:
|
||||
|
||||
`exa --git-ignore`
|
||||
Reference in New Issue
Block a user