Wednesday 15 July 2015

diskspace - Linux du directory size, how is this possible? -



diskspace - Linux du directory size, how is this possible? -

i have folder called joblibscratch. , see this

ubuntu@memo:~$ du -s joblibscratch 2831128 joblibscratch

this 2831128 kilobytes, 2.836024gb. , see this

ubuntu@memo:~$ du -hs joblibscratch 2.7g joblibscratch

so du saying folder both 2.7gb , 2.83 gb. how can be? if makes difference i'm using virtual hard drive on cloud server.

2831128 / 1024 = 2764.7734375 2764.7734375 / 1024 = 2.69997406005859375

linux diskspace

No comments:

Post a Comment