Utilities

Excellent Utilities: eza – replacement for ls

In Operation

Here’s example output from eza with the -l option which displays extended file metadata as a table.

eza long listing

You’ll probably want to tweak the color scheme. The EXA_COLORS or EZA_COLORS environment variable can be used to customise the colours that eza uses to highlight file names, file metadata, and parts of the UI.

For example, when using the Hyper terminal emulator with our customized color scheme, the date field is barely readable using eza, so we append the following lines to our .bashrc file to make this column clearer.

EZA_COLORS+="da=33"
export EZA_COLORS

eza has added some additional features. Probably the most useful is hyperlink support. With the --hyperlink option we can open files direct from the terminal. In the image below, we’re about to open a PNG image with our default image viewer (note the wavy blue line under the filename).

eza hyperlink

You may have noticed we switched to the kitty terminal emulator, as Hyper didn’t want to play ball with hyperlinks. That’s something we’ll investigate.

There’s mount details available with the -M or --mounts option. Here’s example output from ls and eza in this regard.

eza mount details

Other useful additions include Git repo status output and human readable relative dates. eza uses natord to sort its file alphabetically.

Summary

eza build upon the awesome exa. It receives our strong recommendation. There’s lots of bug fixing underway.

At the time of writing, eza has gathered 3.2k GitHub stars.

We’ve replaced exa with eza in our Excellent Utilities series.

Website: eza.rocks
Support: GitHub Code Repository
Developer: Christina Sørensen and contributors
License: MIT License

eza is written in Rust. Learn Rust with our recommended free books and free tutorials.

Pages in this article:
Page 1 – Introduction and Installation
Page 2 – In Operation and Summary


Complete list of articles in this series:

Excellent Utilities
AES CryptEncrypt files using the Advanced Encryption Standard
AnanicyShell daemon created to manage processes’ IO and CPU priorities
brootNext gen tree explorer and customizable launcher
CerebroFast application launcher
cheat.shCommunity driven unified cheat sheet
CopyQAdvanced clipboard manager
crocSecurely transfer files and folders from the command-line
DeskreenLive streaming your desktop to a web browser
dufDisk usage utility with more polished presentation than the classic df
ezaA turbo-charged alternative to the venerable ls command
Extension ManagerBrowse, install and manage GNOME Shell Extensions
fdWonderful alternative to the venerable find
fkillKill processes quick and easy
fontpreviewQuickly search and preview fonts
horcruxFile splitter with encryption and redundancy
KoohaSimple screen recorder
KOReaderDocument viewer for a wide variety of file formats
ImagineA simple yet effective image optimization tool
LanguageToolStyle and grammar checker for 30+ languages
Liquid PromptAdaptive prompt for Bash & Zsh
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
lsdLike exa, lsd is a turbo-charged alternative to ls
Mark TextSimple and elegant Markdown editor
McFlyNavigate through your bash shell history
mdlessFormatted and highlighted view of Markdown files
naviInteractive cheatsheet tool
notiMonitors a command or process and triggers a notification
NushellFlexible cross-platform shell with a modern feel
nvitopGPU process management for NVIDIA graphics cards
OCRmyPDFAdd OCR text layer to scanned PDFs
Oh My ZshFramework to manage your Zsh configuration
PaperworkDesigned to simplify the management of your paperwork
pastelGenerate, analyze, convert and manipulate colors
PDF Mix ToolPerform common editing operations on PDF files
pecoSimple interactive filtering tool that's remarkably useful
ripgrepRecursively search directories for a regex pattern
RnoteSketch and take handwritten notes
scrcpyDisplay and control Android devices
StickySimulates the traditional “sticky note” style stationery on your desktop
tldrSimplified and community-driven man pages
tmuxA terminal multiplexer that offers a massive boost to your workflow
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
WatsonTrack the time spent on projects
Whoogle SearchSelf-hosted and privacy-focused metasearch engine
ZellijTerminal workspace with batteries included
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ben
Ben
1 year ago

Please – edit/update the link:

> One of the tools we routinely install on a fresh Linux system is exa.

NuGen
NuGen
1 year ago

exa is abandoned?

Byron
Byron
1 year ago
Reply to  NuGen

exa’s GitHub says the developer is unreachable. It may be the developer has abandoned exa, There is always the possibility he has just taken a complete break and may restart his project. it may be he is not even alive. Who knows.

Given the popularity of exa, there is always the chance that there will be other useful forks of exa besides eza.

Personally, I’m not a big fan of Rust.