Site icon New Generation Enterprise Linux

Unlock Hidden Files Instantly with `ls -A`

Quick Tip

Unlock Hidden Files Instantly with `ls -A`

Challenge: By default, the `ls` command hides files and directories that start with a dot (.), which are often configuration files or hidden system directories.

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

ls -A

Why it works: The -A option tells ls to list all entries except for . and .., effectively showing hidden files and directories without cluttering the output with the current and parent directory entries.

Pro-Tip: For an even more visually appealing and feature-rich directory listing, consider installing and using lsd (ls deluxe) if available on your system.

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

0 0 votes
Article Rating
Exit mobile version