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.

Related Posts:

About Craig Lotter

South African software architect and developer at Touchwork. Husband to a cupcake baker and father to two little girls. I don't have time for myself any more.