Quick Tip
Tame Your Terminal: Unmask Hidden Files with `ls -A`
Challenge: By default, the `ls` command 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, especially configuration files.
The Solution: Use the `-A` flag with the `ls` command to show all entries except for `.` (current directory) and `..` (parent directory).
ls -A
Why it works: The `-A` option tells `ls` to list all files and directories, including those that are normally hidden because they begin with a period, providing a more complete view of the directory’s contents.
Pro-Tip: Combine this with `-l` for a detailed, unhidden listing: ls -lA
Linux Tips & Tricks | © ngelinux.com | 5/16/2026
