HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

eza — Modern, maintained replacement for `ls`, built on `exa`. More information: <https://github.com/eza-c

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandezamodernclireplacementmaintainedforbuilt

Problem

How to use the eza command: Modern, maintained replacement for ls, built on exa. More information: <https://github.com/eza-community/eza>.

Solution

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

Code Snippets

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}}

Context

tldr-pages: common/eza

Revisions (0)

No revisions yet.