Unleash `ls` with `lsd`: Visually Richer Directory Listings
Quick Tip
Unleash `ls` with `lsd`: Visually Richer Directory Listings
Challenge: The default `ls` command can be a bit bland and lacks visual cues that make it easier to quickly scan directory contents.
The Solution: Install and use `lsd`, a modern `ls` replacement that offers color-coding, icons, and better formatting.
# Install lsd (example for Debian/Ubuntu) sudo apt update && sudo apt install lsd # Now use it instead of ls lsd lsd -l lsd -a
Why it works: `lsd` leverages a rich set of icons and color schemes (often based on file type and permissions) to provide a more intuitive and aesthetically pleasing directory listing, significantly improving readability.
Pro-Tip: Alias `ls` to `lsd` in your shell’s configuration file (e.g., ~/.bashrc or ~/.zshrc) to make it your default: alias ls='lsd'.
Linux Tips & Tricks | © ngelinux.com | 5/5/2026
