Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You need to quickly see all files in a directory, including hidden ones (those starting with a dot), without cluttering your output with “.” and “..” entries.
The Solution: Use the ls -A command.
ls -A
Why it works: The -A option for ls lists all entries except for “.” (current directory) and “..” (parent directory), effectively showing you all hidden files and directories without the usual directory navigation entries.
Pro-Tip: For a more visually appealing and modern listing, consider installing and using lsd (a popular alternative to ls) with lsd -A.
Linux Tips & Tricks | © ngelinux.com | 5/13/2026
