Instantly Unmask Hidden Files with `ls -A`

Quick Tip

Instantly Unmask Hidden Files with `ls -A`

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

The Solution: Use the ls -A command.

ls -A

Why it works: The -A (or --almost-all) option for ls lists all entries except for the current directory (.) and the parent directory (..). This is a quick way to reveal configuration files and other hidden items.

Pro-Tip: For a more visually enhanced directory listing with icons and colors, consider installing and using lsd (e.g., lsd -A).

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted