If I look at "properties" under /home/user/Desktop in the GUI (nautilus), it shows free space as 137.3 GB. However, if I execute df . -kh
it shows 128 GB available.
Why are these different? Which one should I believe if I need the exact free space of PWD
?
Best Answer
One program is showing the free space in decimal (10^9) gigabyes (GB), the other is showing it in binary (2^30) gigabytes (GiB); 128 GiB = 137.4 GB. For
df
you can specify whether you want decimal or binary units:See
man df
for details.