1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 17:25:27 +02:00
tldr/pages/common/eza.md

37 lines
840 B
Markdown
Raw Normal View History

# eza
> Modern, maintained replacement for `ls`, built on `exa`.
> More information: <https://github.com/eza-community/eza>.
- List files one per line:
`eza {{[-1|--oneline]}}`
- List all files, including hidden files:
`eza {{[-a|--all]}}`
- Long format list (permissions, ownership, size and modification date) of all files:
`eza {{[-al|--all --long]}}`
- List files with the largest at the top:
`eza {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}`
- Display a tree of files, three levels deep:
`eza {{[-lT|--long --tree]}} {{[-L|--level]}} {{3}}`
- List files sorted by modification date (oldest first):
`eza {{[-l|--long]}} {{[-s|--sort]}} {{modified}}`
- List files with their headers, icons, and Git statuses:
`eza {{[-lh|--long --header]}} --icons --git`
- Don't list files mentioned in `.gitignore`:
`eza --git-ignore`