Unmask Hidden Files Instantly with `ls -A`

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 that are hidden (those starting with a dot ‘.’), without altering your current `ls` configuration.

The Solution: Use the -A flag with the ls command.

ls -A

Why it works: The -A flag tells ls to list all entries except for the implied . (current directory) and .. (parent directory). This is a concise way to see all hidden files and directories.

Pro-Tip: For a more visually appealing and feature-rich `ls` experience, consider installing and using lsd if available on your system.

Linux Tips & Tricks | © ngelinux.com | 6/26/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted