How can I check disk space?

Posted at October 23, 2015 at 8:07 am by InterServer Staff

Type df -m

Sample (in megabytes):
root@pentagon [/]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda8 248 197 39 83% / /dev/hda1 15 2 12 16% /boot
/dev/hda6 3563 367 3015 11% /home2
/dev/hdb1 19235 6808 11449 37% /homeroot
/dev/hda5 3563 871 2511 26% /usr
/dev/hda7 248 60 176 25% /var

Of Specific Dir
du -sm

Sample (in MB):
root@pentagon [/home]# cd jump
root@pentagon [/home/jump]# du -sm
7 .

0.00 avg. rating (0% score) - 0 votes

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply