Unmask Hidden Files Instantly with `ls -A`

Quick Tip

Unmask Hidden Files Instantly with `ls -A`

Challenge: You’re working in a directory and need to quickly see all files, including those that are hidden (prefixed with a dot), without cluttering your output with “.” and “..”.

The Solution: Use the ls -A command.

ls -A

Why it works: The -A (or --almost-all) option for ls displays all entries except for “.” and “..”, effectively showing all hidden files and directories while excluding the current and parent directory entries.

Pro-Tip: For an even more visually appealing and feature-rich listing, consider installing and using lsd (ls deluxe) which provides colors, icons, and more.

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments