Ubuntu Server: Check how much Free Disk Space you have Available Software & Sites 16 APR 2012

When you started getting error messages that there isn’t enough disk space available in order to complete a particular action, it is probably a good time to figure out just how much free space you actually have left available to you.

To do this we use the nifty Disk Free (df) utility which will show the free space on each of the mounted file systems.

In practice:

df -h

Useful. A second tool to use in conjunction with df is du (disk usage) which will give you a break down per directory of how much space is being used.

About Craig Lotter

Software developer, husband and dad to two young ladies. Writer behind An Exploring South African. I don't have time for myself any more.