Unlock Hidden Files Instantly with `ls -A`

Quick Tip

Unlock Hidden Files Instantly with `ls -A`

Challenge: You need to see all files and directories in a location, including those that start with a dot (hidden files), but you don’t want to clutter your output with `.` and `..`.

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

ls -A

Why it works: The `-A` option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory), effectively showing you all hidden files and directories without unnecessary noise.

Pro-Tip: Combine it with `-l` for a long listing format: ls -lA

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments