Re: Total in ls -la

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Vian: 
>>> That is the size of the directory and its contents in kB.  It is
>>> displayed with all 'ls' output using the -l flag.

Tim: 
>> Are you sure about that?  I couldn't find any reference inside Fedora
>> about it.  Something else, more general about Linux, said it was in
>> "blocks."
 
Jeff Vian:
> I am sure.  See below.
> 
> [root@raptor download]# ls -al movie
> total 1080028
> drwxrwxr-x   2 jeff jeff      4096 Oct 31  2005 .
> drwxrwxr-x 110 jeff jeff      4096 Oct 27 18:23 ..
> -rw-r--r--   1 jeff jeff 820366348 Aug 12  2005 myhomemovie.mpg
> -rw-r--r--   1 jeff jeff 284465240 Sep 26  2002 myhomemovie2.mpg

That kind of proves my point.  You have 1.1 GB of files in that
directory, but the "total" is just a little over 1 million.  It can't be
a total stated in the kilobytes.

> [root@raptor download]# du -s movie
> 1080020 movie

"du" also works in blocks, unless you specify that it give you an output
in another way.  Likewise, with "df".

-- 
(Currently testing FC5, but still running FC4, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux