Instantly Unmask Hidden Files with `ls -A`

Quick Tip

Instantly Unmask Hidden Files with `ls -A`

Challenge: You’re working in a directory and need to see all files, including those that start with a dot (hidden files), which are normally not displayed by `ls`.

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

ls -A

Why it works: The `-A` flag tells `ls` to list all entries except for `.` and `..` (the current and parent directory entries). This is usually more useful than `ls -a` which includes those two special directories.

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

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments