Re: Total in ls -la

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

 



On Mon, 2006-11-06 at 11:16 +0700, Fajar Priyanto wrote:

> I'm curious when we do 'ls -la', what does 'total' mean? Is it the amount of 
> directory, files, or else?
>
> ls -la
> total 8
> drwxr-xr-x 2 fajar users 4096 2006-11-06 11:12 .
> drwxr-xr-x 3 fajar users 4096 2006-11-06 11:12 ..

Looking at a reference to the man file for ls, that DID NOT come from
FC, I see the following information:

`-l'
`--format=long'
`--format=verbose'
        In addition to the name of each file, print the file type,
        permissions, number of hard links, owner name, group name, size,
        and timestamp (see section 10.1.6 Formatting file timestamps),
        normally the modification time. 
        
        Normally the size is printed as a byte count without
        punctuation, but this can be overridden (see section 2.2 Block
        size). For example, `-h' prints an abbreviated, human-readable
        count, and `--block-size="'1"' prints a byte count with the
        thousands separator of the current locale.
        
        For each directory that is listed, preface the files with a line
        `total blocks', where blocks is the total disk allocation for
        all files in that directory. The block size currently defaults
        to 1024 bytes, but this can be overridden (see section 2.2 Block
        size). The blocks computed counts each hard link separately;
        this is arguably a deficiency.

<http://www.gnu.org/software/coreutils/manual/html_chapter/coreutils_10.html>

-- 
(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