Turbocharge `ls` with `lsd` for Visual Directory Listings

Quick Tip

Turbocharge `ls` with `lsd` for Visual Directory Listings

Challenge: The default `ls` command, while functional, can be a bit plain. You often want to quickly identify file types, permissions, and see a more visually appealing directory structure without resorting to external tools or complex aliases.

The Solution: Install and use `lsd` (LSDeluxe), a modern, fast, and user-friendly `ls` alternative that offers built-in color-coding, icons, and a more intuitive display of file information.

# Install lsd (example for Ubuntu/Debian) sudo apt update && sudo apt install lsd # Basic usage lsd # With icons and tree view lsd --tree --icon 

Why it works: `lsd` leverages modern UTF-8 characters for icons and applies smart color-coding based on file types and permissions, making it much easier to scan and understand directory contents at a glance. The `–tree` option provides a hierarchical view similar to the `tree` command.

Pro-Tip: Create a simple alias in your shell’s config file (e.g., `~/.bashrc` or `~/.zshrc`) like `alias ls=’lsd –icon’` to make `lsd` your default `ls` command.

Linux Tips & Tricks | © ngelinux.com | 5/2/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments