Unmask Hidden Files Instantly with `ls -A`
Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: By default, the ls command doesn’t show hidden files (those starting with a dot `.`). You often need to see these configuration files or hidden directories, but typing ls -a can be a bit verbose when you just want to see them alongside the regular files.
The Solution: Use the ls -A command.
ls -A
Why it works: The -A flag for ls lists all entries except for . (current directory) and .. (parent directory), effectively showing you all hidden files and directories without the clutter of the current and parent directory entries.
Pro-Tip: Combine it with -l for a detailed, long listing of all files, including hidden ones: ls -Al
Linux Tips & Tricks | © ngelinux.com | 5/27/2026
