commands.sh

exa

all

A modern replacement for `ls` (List directory contents).

More info →

Options (8)

-1, --onelineboolean

List files one per line

Example: exa {{[-1|--oneline]}}
-a, --allboolean

List all files, including hidden files

Example: exa {{[-a|--all]}}
-l, --longboolean

Long format list (permissions, ownership, size, and modification date) of all files

Example: exa {{[-l|--long]}} {{[-a|--all]}}
-r, --reverseboolean

List files with the largest at the top

Example: exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}
-s, --sortboolean

List files with the largest at the top

Example: exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}
-T, --treeboolean

Display a tree of files, three levels deep

Example: exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}
-L, --levelboolean

Display a tree of files, three levels deep

Example: exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}
-h, --headerboolean

List files with their headers, icons, and Git statuses

Example: exa {{[-l|--long]}} {{[-h|--header]}} --icons --git

Examples (8)

List files one per line

exa [-1|--oneline]

List all files, including hidden files

exa [-a|--all]

Long format list (permissions, ownership, size, and modification date) of all files

exa [-l|--long] [-a|--all]

List files with the largest at the top

exa [-r|--reverse] [-s|--sort] size

Display a tree of files, three levels deep

exa [-l|--long] [-T|--tree] [-L|--level] 3

List files sorted by modification date (oldest first)

exa [-l|--long] [-s|--sort] modified

List files with their headers, icons, and Git statuses

exa [-l|--long] [-h|--header] --icons --git

Don't list files mentioned in `.gitignore`

exa --git-ignore
made by @shridhargupta | data from tldr-pages