Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You’re working in a directory and need to see all files, including those starting with a dot (hidden files), without cluttering the output with ‘.’ and ‘..’ entries.
The Solution: Use the ls -A command.
ls -A
Why it works: The -A (or --almost-all) option for ls lists all entries except for the implied ‘.’ (current directory) and ‘..’ (parent directory). This is perfect for quickly viewing hidden configuration files and directories.
Pro-Tip: Combine it with -l for a detailed, almost-all listing: ls -lA.
Linux Tips & Tricks | © ngelinux.com | 6/17/2026
