Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You’re trying to see all files in a directory, including those that start with a dot (like configuration files), but `ls` only shows the visible ones.
The Solution: Use the `-A` flag with the `ls` command.
ls -A
Why it works: The `-A` (or `–almost-all`) option tells `ls` to list all entries except for `.` (current directory) and `..` (parent directory). This is perfect for quickly revealing hidden configuration files and other dotfiles.
Pro-Tip: Combine it with `-l` for a detailed, almost-all listing: `ls -lA`
Linux Tips & Tricks | © ngelinux.com | 5/9/2026
