FG
💻 Software

du command does not parse hidden directories

Fresh5 days ago
Mar 15, 2026227192 views
Confidence Score1%
1%

Problem

I want to estimate the amount of disk space used by a directory using the following command. which does not calculate the hidden directories. In the man page of du there is no info regarding it. How to calculate the amount of disk space used by the directories including the hidden files.

Error Output

du -sh dir_name

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: du command does not parse hidden directories

Low Risk

This command shows you the summarized size of hidden directories using a regular expression:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment