tldr/pages/common/exa.md

28 lines
518 B
Markdown
Raw Normal View History

2017-10-27 15:38:37 +01:00
# 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 of 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 of files, sorted by modification date (oldest first):
`exa --long --sort=modified`