Unleash `lsd`: A Modern `ls` for Beautiful Directory Listings
Quick Tip
Unleash `lsd`: A Modern `ls` for Beautiful Directory Listings
Challenge: The default `ls` command, while functional, can be a bit drab and lacks visual appeal and rich information at a glance. Navigating directory structures can be improved with better visual cues.
The Solution: Install and use `lsd`, a modern alternative to `ls` that provides catchy colors, icons, and a tree-like view of directories.
# Installation (example for Debian/Ubuntu) sudo apt update sudo apt install lsd # Basic usage lsd # With icons and tree view lsd --tree --all
Why it works: `lsd` leverages Unicode characters to display file type icons and uses color coding to highlight file permissions, types, and other metadata, making directory listings significantly more readable and informative. The `–tree` option provides a hierarchical view.
Pro-Tip: Alias `ls` to `lsd` in your shell configuration (e.g., `~/.bashrc` or `~/.zshrc`) for seamless integration: alias ls='lsd'
Linux Tips & Tricks | © ngelinux.com | 5/10/2026
