Site icon New Generation Enterprise Linux

Unmask Hidden Files Instantly with `ls -A`

Quick Tip

Unmask Hidden Files Instantly with `ls -A`

Challenge: You need to see all files and directories in your current location, including those that are hidden (start with a dot), but you don’t want to clutter your output with `.` and `..`.

The Solution: Use the `ls -A` command.

ls -A

Why it works: The `-A` option for `ls` lists all entries except for `.` (current directory) and `..` (parent directory). This is a convenient way to quickly check for configuration files or hidden directories without the extra noise.

Pro-Tip: Combine `ls -A` with `-l` for a detailed, hidden-file-inclusive listing: `ls -Al`

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

0 0 votes
Article Rating
Exit mobile version