Quick Tip
Unmask Hidden Files with `ls -A`
Challenge: By default, the `ls` command doesn’t show hidden files and directories (those starting with a dot `.`). This can make it difficult to see all files within a directory, especially configuration files.
The Solution: Use the `-A` flag with `ls` to reveal all files except for `.` (current directory) and `..` (parent directory).
ls -A
Why it works: The `-A` option tells `ls` to list all entries except for `.` and `..`, providing a more comprehensive view of the directory contents without cluttering the output with the special directory references.
Pro-Tip: Combine it with `-l` for a detailed, long listing of all files: ls -lA
Linux Tips & Tricks | © ngelinux.com | 5/9/2026
