linux - df 命令按照GB单位显示磁盘大小

特米no

2018-03-01T10:47:22Z||2018-03-01T10:47:22Z

df -BG

输出类似:

Filesystem     1G-blocks  Used Available Use% Mounted on
/dev/sda2          1035G    5G      978G   1% /
devtmpfs             32G    0G       32G   0% /dev
tmpfs                32G    0G       32G   0% /dev/shm
tmpfs                32G    1G       32G   1% /run
tmpfs                32G    0G       32G   0% /sys/fs/cgroup
/dev/sda1             1G    1G        1G  32% /boot