Quick Tip
Unmask Hidden Files Instantly with `ls -A`
Challenge: By default, ls does not show files and directories that start with a dot (hidden files). This can be inconvenient when you need to quickly see all files in a directory, including configuration files.
The Solution: Use the -A flag with the ls command.
ls -A
Why it works: The -A (or --almost-all) option tells ls to list all entries except for . (current directory) and .. (parent directory). This is often more useful than ls -a which includes these entries.
Pro-Tip: Combine it with other ls flags like -l for a detailed view: ls -Al
Linux Tips & Tricks | © ngelinux.com | 6/13/2026
