Quick Tip
Unmasking Hidden Files Instantly with `ls -A`
Challenge: You need to quickly see all files and directories in a given location, including those that start with a dot (which are typically hidden by default). Navigating to a directory and running `ls` won’t show them.
The Solution: Use the `-A` flag with the `ls` command.
ls -A
Why it works: The `-A` (almost all) option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory). This is incredibly useful for seeing hidden configuration files and directories without cluttering the output with the directory references.
Pro-Tip: For a more visually rich listing that includes hidden files and other details, consider installing and using `lsd` (`ls -laA`).
Linux Tips & Tricks | © ngelinux.com | 6/16/2026
