Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: By default, `ls` hides files and directories starting with a dot (‘.’). Often, these are configuration files or hidden system directories that you need to see.
The Solution: Use the `-A` flag with `ls` to show all entries except for ‘.’ and ‘..’.
ls -A
Why it works: The `-A` (or `–almost-all`) option tells `ls` to list all files and directories, including those that are hidden by convention (starting with a dot), but it omits the special entries for the current directory (`.`) and the parent directory (`..`) for cleaner output.
Pro-Tip: For a more visually appealing and feature-rich directory listing, consider installing and using `lsd` (ls deluxe).
Linux Tips & Tricks | © ngelinux.com | 5/8/2026
