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/1000

More command info.

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> by using this tags.