Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You need to quickly see all files in a directory, including those that start with a dot (hidden files), without cluttering your view with `.` and `..` (current and parent directories).
The Solution: Use the `-A` flag with the `ls` command.
ls -A
Why it works: The `-A` option (almost all) tells `ls` to list all entries except for `.` and `..`, effectively showing you hidden files without the directory navigation entries.
Pro-Tip: Combine it with `-l` for a detailed, human-readable view: `ls -lA`
Linux Tips & Tricks | © ngelinux.com | 5/4/2026
