Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You need to quickly see all files and directories in a directory, including those that start with a dot (hidden files), without listing the current directory (`.`) and parent directory (`..`).
The Solution: Use the `ls -A` command.
ls -A
Why it works: The `-A` option for `ls` (list directory contents) displays all entries except for `.` and `..`. This is incredibly useful for quickly scanning configuration directories or any directory where hidden files are important.
Pro-Tip: Combine `ls -A` with `-l` for a detailed, hidden-file-inclusive listing: `ls -Al`
Linux Tips & Tricks | © ngelinux.com | 6/23/2026
