The df -h command will tell you disk usage from a mountpoint perspective, but the command du tells you from a directory perspective. Use the command:
du -h / --max-depth=1
To show disk usage for each individual directory on the system, or go lower down to see usage on a particular directory:
du -h /var/log --max-depth=1
No comments:
Post a Comment