Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ quot(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

du(C)

ls(C)


 quot(C)                       06 January 1993                        quot(C)


 Name

    quot - summarize file system ownership

 Syntax

    quot [ option ] ...  [ filesystem ]

 Description

    quot prints the number of blocks in the named filesystem currently owned
    by each user.  If no filesystem is named, the file systems given in
    /etc/mnttab are examined.

    The following options are available:

    -n   Processes standard input. This option makes it possible to produce a
         list of all files and their owners with the following command:

            ncheck filesystem | sort +0n | quot -n filesystem


    -c   Prints three columns giving file size in blocks, number of files of
         that size, and cumulative total of blocks in files of that size or
         smaller.  Data for files of size greater than 499 blocks is included
         in the figures for files of exactly size 499.

    -f   Prints a count of the number of files as well as space owned by each
         user.

 Files

    /etc/passwd     Gets user names
    /etc/mnttab     Contains list of mounted file systems

 See also

    du(C), ls(C)

 Notes

    Holes in files are counted as if they actually occupied space.

    Blocks are reported in 512 byte blocks.

    See also ``Notes'' under mount(ADM).

 Value added

    quot is an extension of AT&T System V provided by The Santa Cruz Opera-
    tion, Inc.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026