💻 Software
du only for directories
Fresh5 days ago
Mar 15, 2026142324 viewsConfidence Score1%
1%
Problem
In C-Shell, how can I get the same output as but without listing the files in the root dir, i.e. just a list of subdirectories in ./ and the sizes of all their contents?
Error Output
du -sh ./*
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: du only for directories
Low Risk
Add a trailing slash, like:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix