Unmasking Hidden Files Instantly with `ls -A`

Quick Tip

Unmasking Hidden Files Instantly with `ls -A`

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

The Solution: Use the ls -A command.

ls -A

Why it works: The -A (or --almost-all) option for ls displays all entries except for `.` and `..`. This is a common alternative to ls -a which includes these directory entries.

Pro-Tip: Combine ls -Al for a detailed, “almost-all” listing.

Linux Tips & Tricks | © ngelinux.com | 6/29/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted