Unmask Hidden Files Instantly with `ls -A`

Quick Tip

Unmask Hidden Files Instantly with `ls -A`

Challenge: You need to quickly see all files in a directory, including hidden ones (those starting with a dot `.`), without listing the special `.` (current directory) and `..` (parent directory) entries.

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

ls -A

Why it works: The `-A` option for `ls` lists all entries except for `.` and `..`, effectively showing you all hidden files and directories without the clutter of the current and parent directory entries.

Pro-Tip: For an even more visually appealing and detailed listing of all files (including hidden ones), consider using the `lsd` command if installed (`lsd -a`).

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments