Quick Tip
Unmask Hidden Files with `ls -A`
Challenge: You need to see all files in a directory, including hidden dotfiles, but don’t want to clutter your output with ‘.’ and ‘..’ entries.
The Solution: Use the `ls -A` command.
ls -A
Why it works: The `-A` option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory), effectively showing all hidden files and directories without unnecessary noise.
Pro-Tip: Combine with `-l` for a detailed view: `ls -Al`
Linux Tips & Tricks | © ngelinux.com | 5/2/2026
