I ran out of disk space on an ubuntu server. How can I know how the disk space is being used so I can clean up the disk / delete unnecessary files?
Ubuntu – I ran out of disk space on an ubuntu server. How to know how the disk space is being used
disk-space-utilizationUbuntu
Best Answer
df -h
: will tell you space usage of all mounted filesystems.du -sh
: will tell you space usage of current directory.du -h --max-depth=1
: will tell you space usage of each directory in current directory.