Quick Tip
Unmasking Hidden Files Instantly with `ls -A`
Challenge: When listing directory contents with the standard `ls` command, hidden files and directories (those starting with a dot `.`) are not shown by default. This can make it difficult to see all files present in a directory.
The Solution: Use the `-A` option with the `ls` command.
ls -A
Why it works: The `-A` (or `–almost-all`) option tells `ls` to list all entries except for `.` and `..`. This effectively shows all hidden files and directories without cluttering the output with the current and parent directory references.
Pro-Tip: To see ALL files, including `.` and `..`, use `ls -a`.
Linux Tips & Tricks | © ngelinux.com | 5/4/2026
