Quick Tip
Unlock Hidden Files Instantly with `ls -A`
TITLE: Unlock Hidden Files Instantly with `ls -A`
Challenge: You’re working in a directory and need to see all files, including those that are normally hidden (starting with a dot `.`).
The Solution: Use the `-A` flag with the `ls` command.
ls -A
Why it works: The `-A` (or `–almost-all`) option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory), effectively showing you all hidden files and directories along with the visible ones.
Pro-Tip: For a more visually organized view that also shows hidden files, try `ls -a` (which includes `.` and `..`) combined with the `tree` command: `tree -a`
Linux Tips & Tricks | © ngelinux.com | 6/22/2026
