Can somebody explain this? du & ls showing different sizes

Rick ellis at spinics.net
Sun Feb 15 21:56:22 UTC 2009


In article <60fdb1ad0902151205v6ef67c07v128f0c88f5895240 at mail.gmail.com>,
Vijay Gill  <fedora-list at redhat.com> wrote:

>Running du -h tells that the file occupies 512M but ls -l tells that
>the file is a lot smaller.

Apples and oranges. You get the file *size* with ls and the disk usage
with du. They aren't the same thing.

--
http://yosemitenews.info/




More information about the fedora-list mailing list