Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: You’re working in a directory and need to quickly see all files, including those starting with a dot (hidden files), without listing the current and parent directory entries (‘.’ and ‘..’).
The Solution: Use the ls -A command.
ls -A
Why it works: The -A flag for ls lists all entries except for the implied . and .. directory entries. This gives you a clean view of all actual files and hidden configuration files.
Pro-Tip: For a more visually appealing and feature-rich listing, consider installing and using lsd (e.g., lsd -a for all files).
Linux Tips & Tricks | © ngelinux.com | 6/9/2026
