I was using the command ls -lh to see the long list of files and their sizes in human readable form but i was unable to understand one thing that how the human readable form round off the actual sizes.I was able to understand that it is not based on either ceil or floor function. So what logic is behind this rounding off ? . I am currently working on Ubuntu 19.04.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.