mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-11 06:16:53 +03:00
exa: add page (#1589)
This commit is contained in:
commit
9de0ee64f5
27
pages/common/exa.md
Normal file
27
pages/common/exa.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# exa
|
||||||
|
|
||||||
|
> A modern replacement for `ls` (List directory contents).
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Reference in New Issue
Block a user