Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

For interactive terminal use, eza is a strong modern replacement for ls: it adds Git status, tree views, icons, and terminal hyperlinks. lsd is another capable option. Neither should be substituted blindly in scripts, because their options and output can differ from the stock ls your scripts expect.

What makes eza a better interactive ls?

The eza project describes itself as “a modern replacement for ls.” It is a single binary with features including color, awareness of symbolic links and extended attributes, Git integration, hyperlinks, icons, and tree output. Those additions are most useful when you are browsing files at a terminal, rather than relying on ls output as input to another program.

Show Git status

Run eza --git to show Git status alongside directory entries. This makes it easier to spot changed or untracked files while browsing a working tree.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Browse a directory as a tree

Use eza --tree --level=3 for a tree limited to three levels. To include long-view metadata, add --long: eza --tree --level=3 --long.

Popular on Amazon
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
  • Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM)
  • Includes 128GB Micro SD Card pre-loaded with 64-bit Raspberry Pi OS, USB MicroSD Card Reader
  • CanaKit Turbine Black Case for the Raspberry Pi 5
  • CanaKit Low Noise Bearing System Fan
  • Mega Heat Sink - Black Anodized

Choose a detailed table

eza --long --header --inode --git displays a long table with column headings, inode numbers, and Git status. Use eza -D when you want to list directories only.

Control icons and terminal links

Add --icons for file-type icons or --hyperlink for clickable terminal links. The eza man page documents auto, always, and never behavior for terminal-sensitive output. Automatic behavior is useful across different contexts, but explicit modes can help when you need predictable display behavior. Check the current eza man page for the installed release’s exact options.

Also popular on Amazon
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
  • Includes Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core CPU (4GB RAM)
  • Includes Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
  • CanaKit Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan Mount, CanaKit Low Noise Bearing System Fan
  • CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply (US Plug) with Noise Filter, Set of Heat Sinks, Display Cable - 6 foot (Supports up to 4K60p)
  • CanaKit USB-C PiSwitch (On/Off Power Switch for Raspberry Pi 4)

eza vs. lsd vs. stock ls

Capability eza lsd Stock ls
Git status Built-in --git, documented by the project and its man page. Git modes are described in Hackaday’s September 8, 2023 comparison. Requires other commands.
Tree output -T or --tree. Available, according to Hackaday. Usually requires a separate tree command or recursion options.
Icons and color Built-in controls; see the man page. Icons and configurable output are described by Hackaday. Color options vary by implementation.
Compatibility with existing scripts Some options differ from ls; test before substituting. Described as more ls-compatible by Hackaday, but still test your scripts. Usually the safest choice for scripts written for that system’s ls.
Classic output mode Compatibility options are documented in the man page. --classic approximates stock ls output, as described by Hackaday. Native behavior.

Choose eza if its documented Git, tree, and display controls suit your workflow. Consider lsd if you want a configurable alternative with a classic mode. Keep stock ls where compatibility with existing commands is the priority. As Al Williams put it in Hackaday’s 2023 article, “Linux is, after all, about choice.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a replacement in the terminal, not blindly in scripts

A command that looks like ls can still behave differently from it. Scripts may depend on particular flags, output formatting, or assumptions about which entries appear. An interactive alias can improve daily browsing without changing the command a script invokes.

Also popular on Amazon
ELECROW CrowPi Case Kit for Raspberry Pi 5, 9-Inch Display | Basic Kit with 9-Inch Display & Sensors for Learning and Programming, Raspberry Pi 5 Compatible
  • Not including the Raspberry Pi 5 (8GB), the Crowpi advanced version comes with the Raspberry Pi 5
  • ELECROW Black Case for the Raspberry Pi 5, CrowPi is equipped with a 9-inch HD touchscreen along with a camera; All the regular components used in DIY electronics are packed into the CrowPi development board, such as LCD, LED matrix, buzzer, light sensor, PIR sensor, ultrasonic sensor, IR sensor, etc
  • Raspberry Pi Sensors: The Crowpi raspberry pi 5 programming kit is jam-packed with lots of buttons such as 19 different sensors in a tidy easy to use package; You don't have to wait and wire things
  • Build Quality: Solid ABS shell and well made components in one place make it strong and convenient to travel
  • Programming Lessons: This raspberry pi 5 learning kit ships with step by step instructions and provides 21 lessons to take you through identifying components reading code and running it in the terminal
  1. Try the replacement directly, for example eza --git or lsd --tree, and confirm the output you want.
  2. If you want it for interactive use, configure an alias in your shell startup file, such as alias ls='eza'. Adapt the alias to your shell and preferences.
  3. Leave scripts using stock ls unless you have deliberately tested them with the replacement and its options.
  4. Consult the installed command’s --help or man page; available packages and exact behavior can vary by distribution and release.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When stock ls remains the right choice

For scripts and automation written around the system’s existing ls, compatibility matters more than added display features. For interactive browsing, eza or lsd can make Git state and directory structure easier to see. The practical split is straightforward: use the tool whose output helps you at the prompt, and preserve the expected command behavior where other programs depend on it.

Quick Recap

Bestseller No. 1
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM); CanaKit Turbine Black Case for the Raspberry Pi 5
$259.99
Bestseller No. 2
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
Includes Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core CPU (4GB RAM); Includes Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
$169.99
Bestseller No. 4
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
Fully assembled for plug-and-play operation; Includes Raspberry Pi 5 with 8GB RAM; 256 GB PCIe Pi NVMe SSD (Pre-loaded with Pi 64-Bit OS)
$349.99
Also popular on Amazon
Sale
RasTech Raspberry Pi 5 8GB Kit with Active Cooler and Pi5 Case | Cooling with PWM fan,Pi5 ABS Case,Screwdriver,Pi5 8GB Board Included,Ideal for AI,Robotics,DIY Projects,Home Assistant
  • 【What you Get】You will get 1*Pi 5 8GB Single Board,1*RasTech Case,1*Active Cooler,1*Screwdriver,1*Installation instructions,12-month free warranty, lifetime service, 24-hour prompt and friendly response.
  • 【More Connectors】There are two USB 3.0 ports(5Gbps simultaneously) and two USB 2.0 ports, which triple total bandwidth ,support any combination of up to two cameras or displays. Peak SD card performance is doubled through support for the SDR104 high-speed mode. It provides a smooth desktop experience for you. Offer Gigabit Ethernet and a PCIe interface, along with dual-band Wi-Fi and Bluetooth 5.0/BLE wireless capability. The RasTech Pi 5 Kit use the new 27W 5.1V 5A USB-C power connector.
  • 【 Support Dual 4Kp60 Display 】Each of the two microHDMI sockets can control a 4K display at 60 Hertz, now support HDR, offering super HD video for media streaming projects. RPi 5 is the first RPi model that comes with a PCI Express port (PCIe 2.0 x1 with 500 MB/s) to attach SSDs (requires separate M.2 HAT).
  • 【 Excellent Chips And Applications】Pi 5 is a full-size Pi computer using silicon built in-house at Pi. The RP1 “southbridge” provides the bulk of the I/O capabilities for Pi 5. Pi 5 is more friendly and convenient in the development of Internet of Things, Web development, machine identification, automatic control and other electronic equipment applications and network.
  • 【 Faster CPU, Better GPU 】 Pi 5 features a Broadcom BCM2712 64-bit quad-core Arm Cortex-A76 processor running at 2.4GHz, it delivers a 2–3× increase in CPU performance relative to RaspberryPi 4. The 800MHz VideoCore VII GPU is compatible to OpenGL ES 3.1 and Vulkan 1.2, substantial uplift in graphics performance. Pi 5 Offers lightning-fast CPU speed, a PCI Express interface, a Real Time Clock (RTC) and a power button and runs significantly cooler than Pi 4.
Also popular on Amazon
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
  • Fully assembled for plug-and-play operation
  • Includes Raspberry Pi 5 with 8GB RAM
  • 256 GB PCIe Pi NVMe SSD (Pre-loaded with Pi 64-Bit OS)
  • M.2 HAT+
  • CanaKit Turbine Black Case for the Pi 5
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of November 28, 2026 6:05 am GMT.