Wednesday, December 23, 2015

Linux - Disk space

How to check free disk space on an linux machine ?
$ df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 3.9G     0  3.9G   0% /dev
tmpfs                    3.9G  1.9M  3.9G   1% /dev/shm
tmpfs                    3.9G  1.7M  3.9G   1% /run
tmpfs                    3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   34G   12G   20G  38% /
tmpfs                    3.9G  992K  3.9G   1% /tmp
/dev/sdb2                477M  184M  265M  41% /boot
/dev/mapper/fedora-home   17G   11G  5.0G  68% /home
tmpfs                    785M  8.0K  785M   1% /run/user/42
tmpfs                    785M   40K  785M   1% /run/user/1000

No comments:

Post a Comment