Modern replacement for ls with colors, icons, Git status, and tree view.
eza
eza Cheatsheet
| Command | Description |
|---|---|
eza |
List files (colorized) |
eza -l |
Long format with details |
eza -la |
Long format including hidden files |
eza --icons |
Show file type icons |
eza --git |
Show Git status for each file |
eza -T |
Tree view |
eza -T -L 2 |
Tree view, 2 levels deep |
eza -l --sort=modified |
Sort by modification time |
eza -l --sort=size |
Sort by file size |
eza --group-directories-first |
Directories before files |