Site icon New Generation Enterprise Linux

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 see all files, including those starting with a dot (hidden files), without changing your current directory or resorting to more complex commands.

The Solution: Use the ls -A command.

ls -A

Why it works: The -A (or --almost-all) option for the ls command lists all entries except for the implied . (current directory) and .. (parent directory) entries. This is a quick way to see configuration files and other hidden items.

Pro-Tip: For an even more visually enhanced directory listing, consider installing and using lsd (a modern `ls` replacement) which offers colors and icons.

Linux Tips & Tricks | © ngelinux.com | 5/24/2026

0 0 votes
Article Rating
Exit mobile version