Quick Tip
Unmasking Hidden Files: The `ls -A` Trick
Challenge: By default, `ls` hides files and directories that start with a dot (e.g., `.bashrc`, `.config`). This can make it difficult to see all files in a directory when you need to.
The Solution: Use the `-A` flag with the `ls` command.
ls -A
Why it works: The `-A` option tells `ls` to list all entries except for `.` (current directory) and `..` (parent directory), effectively showing all hidden files and directories.
Pro-Tip: Combine `-A` with `-l` for a detailed, all-inclusive listing: `ls -lA`.
Linux Tips & Tricks | © ngelinux.com | 6/1/2026
