Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You need to quickly see all files and directories in your current location, including those that start with a dot (hidden files), without listing the parent directory (‘.’) and current directory (‘..’).
The Solution: Use the `ls -A` command.
ls -A
Why it works: The `-A` option for `ls` lists all entries except for `.` and `..`. This is extremely useful for inspecting configuration directories or hidden application data.
Pro-Tip: For a more visually appealing and feature-rich listing, consider installing and using `lsd` (a modern `ls` replacement) which offers color-coding and icons by default.
Linux Tips & Tricks | © ngelinux.com | 6/12/2026
