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 hidden ones (those starting with a dot), without cluttering the output with `.` and `..`.
The Solution: Use the `ls -A` command.
ls -A
Why it works: The `-A` option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory). This provides a clean, comprehensive view of all files, including hidden ones.
Pro-Tip: For a more visually appealing and feature-rich directory listing that includes hidden files and icons, consider installing and using `lsd` (ls deluxe): lsd -a.
Linux Tips & Tricks | © ngelinux.com | 7/3/2026
