Disk Space Usage

Run this via command line (linux only) inside any directory you want the disk usage for.

ls -lhr –sort=size

For total server disk usage:

df -h

For in depth directory usage / sorted by size

du -c –max-depth=1 / | sort -n

or unsorted

du -h –max-depth=1

December 4, 2014   834    Linux, SSH  
Total 0 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?


Leave a Comment