DU(1)                                                       DU(1)

     NAME
          du - disk usage

     SYNOPSIS
          du[-santxy] [file ...]

     DESCRIPTION
          The du command outputs to standard output the total size of
          files specified as arguments.  Output sums are rounded up to
          the nearest 1k unit (1024 bytes).

          Directories are recursively tallied.  If no filenames are
          provided, the command operates on the current directory.

          Du accepts the following options:

          -s (default)
               Output the usage information tallied for each direc-
               tory.

          -a   Output usage information for each file, not just the
               directories.

          -n   Output just the filenames, no other information.  Warn-
               ing messages are generated for ``unsafe'' filenames
               (i.e., names containing shell special characters).

          -t   When used with the -n option, outputs the filename,
               modification time, (seconds since the epoch), size (in
               bytes), and checksum.  This option has no effect in the
               absence of the -n option.

          The options -s, -a, and -n are mutually exclusive.

     SOURCE
          /appl/cmd/du.b

     SEE ALSO
          sh(1), sys-stat(2)

     BUGS
          The checksum field printed with the -t option is always 0;
          it is intended to be used by some other commands as yet not
          distributed.

     Page 1                       Plan 9             (printed 4/27/24)