Unmask Hidden Files Instantly with `ls -A`

Quick Tip

Unmask Hidden Files Instantly with `ls -A`

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

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

ls -A

Why it works: The `-A` option for `ls` lists all entries except for `.` and `..`. This is often more useful than `ls -a` which includes these two entries.

Pro-Tip: Combine `ls -A` with `-l` for a detailed view of all files, including hidden ones: ls -Al

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments