Site icon New Generation Enterprise Linux

Instantly Unmask Hidden Files with `ls -A`

Quick Tip

Instantly Unmask Hidden Files with `ls -A`

Challenge: You’re working in a directory and suspect there are hidden files (those starting with a dot `.`) that you’re not seeing with the standard ls command.

The Solution: Use the ls -A command.

ls -A

Why it works: The -A option for ls lists all entries except for . (current directory) and .. (parent directory). This is often more useful than ls -a which includes these two entries, cluttering the output when you just want to see hidden files.

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

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

0 0 votes
Article Rating
Exit mobile version