LinuxCommandLibrary

exa

modern ls replacement written in Rust

TLDR

List files with colors

$ exa
copy
Long format with details
$ exa -l
copy
Show hidden files
$ exa -a
copy
Tree view
$ exa --tree
copy
Show git status
$ exa -l --git
copy
Sort by modified time
$ exa -l --sort=modified
copy
Show file sizes human-readable
$ exa -lh
copy
Extended attributes
$ exa -l --extended
copy

SYNOPSIS

exa [options] [files...]

DESCRIPTION

exa is a modern replacement for ls written in Rust. It provides colorful output, git integration, tree view, and more detailed file information in a user-friendly format.
The tool defaults to human-readable sizes and sensible colors. Git integration shows file status in repository directories. Extended attributes and metadata are easily accessible.
exa is faster than ls for most operations while providing significantly more features.

PARAMETERS

FILES

Files or directories to list.
-l, --long
Long format.
-a, --all
Show hidden files.
--tree
Tree view.
--git
Show git status.
-s, --sort FIELD
Sort by field.
-h, --header
Show header row.
--icons
Show file icons.
--color WHEN
Color mode: always, auto, never.
--help
Display help information.

CAVEATS

Different output format than ls. May break scripts expecting ls output. Icons need font support. Unmaintained since 2023 (see eza fork).

HISTORY

exa was created by Benjamin Sago (ogham) starting around 2014 as a modern ls replacement. Development stopped in 2023, with eza continuing as an active fork.

SEE ALSO

ls(1), eza(1), lsd(1), tree(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community