trying to understand the basics of du
command is not that simple for me . For instance there is this -h
option which is defined as printing in "human readable format" . The problem is that this option changes the displayed value :
~$ du --apparent-size -sh Documents/
376M Documents/
~$ du --apparent-size -s Documents/
384767 Documents/
normally 384767 should be rounded to 385M. So which is the correct value 376M or 385M ?
Even worse :
~$ du -bsh Documents/
376M Documents/
~$ du -bs Documents/
394001294 Documents/