Unmask Hidden Files Instantly with `ls -A`

Quick Tip

Unmask Hidden Files Instantly with `ls -A`

Challenge: You need to see all files and directories in the current directory, including those that are hidden (those starting with a dot `.`). Standard `ls` will omit these.

The Solution: Use the `-A` (almost all) flag with `ls`.

ls -A

Why it works: The `-A` option tells `ls` to list all entries except for `.` (current directory) and `..` (parent directory), effectively showing all hidden files and directories.

Pro-Tip: For a more visually appealing and feature-rich directory listing, consider installing and using `lsd` (ls deluxe).

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments