Instantly Unmask Hidden Files with `ls -A`

Quick Tip

Instantly Unmask Hidden Files with `ls -A`

Challenge: You need to see all files in a directory, including those that start with a dot (hidden files), but `ls` by default doesn’t show them.

The Solution: Use the `-A` flag with the `ls` command.

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 without clutter.

Pro-Tip: Combine it with `-l` for a detailed view: ls -Al

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments