Unmask Hidden Files with `ls -A`

Quick Tip

Unmask Hidden Files with `ls -A`

Challenge: By default, `ls` hides files and directories that start with a dot (‘.’). This is useful for keeping configuration clutter out of sight, but sometimes you need to see *everything*, including these hidden items.

The Solution: Use the `-A` (almost all) flag with `ls`.

ls -A

Why it works: The `-A` flag tells `ls` to list all entries except for ‘.’ (current directory) and ‘..’ (parent directory). This is often more practical than `ls -a` which includes those two entries.

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

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments