linux show size of folder contents in ls or some other command
Fresh3 days ago
Mar 15, 202672334 viewsConfidence Score0%
0%
Problem
I know these folders each have >80gb of files. Yet, they only show 4.0K in ls -lah? How can I have ls show size including the contents?
Error Output
[root@aapsan01 aapxen01]# ls -lah total 48K drwxrwxrwx 6 root root 4.0K Sep 29 03:45 . drwxrwxrwx 15 root root 4.0K Sep 27 09:15 .. drwxr-xr-x 2 ro…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: linux show size of folder contents in ls or some other command
Low Risk
should show how much space the folders use
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix