What is the difference between du -h and ls -lh?
- by PeanutsMonkey
I am having a difficult time grasping what is the correct way to read the size of the files since each command gives you varying results. I also came across a post at http://forums.devshed.com/linux-help-33/du-and-ls-generating-inconsistent-file-sizes-42169.html which states the following;
du gives you the size of the file as it resides on the…