df -h|df -H 的具体差别 ??
-H "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to
three or less using base 10 for sizes.
-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to
three or less using base 2 for sizes.
重要的是base 2 for sizes.什么意思呢.才刚接触unix~~~
z***deMacBook-Pro:pingan z***$ df -H /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 120G 113G 7.0G 95% 27701191 1711177 94% /
z***deMacBook-Pro:pingan z***$ df -h /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 112Gi 105Gi 6.5Gi 95% 27701193 1711175 94% /