Check Disk Space in Ubuntu

If you want to check your server disk space in Ubuntu run the following command:

df -h

You will get something like this:

Filesystem      Size  Used Avail Use% Mounted on
udev            462M     0  462M   0% /dev
tmpfs            99M  7.0M   92M   8% /run
/dev/sda         25G   15G  8.2G  65% /
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           493M     0  493M   0% /sys/fs/cgroup
/dev/loop0       90M   90M     0 100% /snap/core/8268
tmpfs            99M     0   99M   0% /run/user/1000Code language: Access log (accesslog)

More command info.

Leave a Reply

Your email address will not be published. Required fields are marked *