man(1) Manual page archive


     DU(1)                                                       DU(1)

     NAME
          du - disk usage

     SYNOPSIS
          du [ -a ] [ -f ] [ -n ] [ -t ] [ -u ] [ -bsize ] [ file ...
          ]

     DESCRIPTION
          Du gives the number of Kbytes allocated to data blocks of
          named files and, recursively, of files in named directories.
          It assumes storage is quantized in units of 1024 bytes
          (Kbytes) by default. Other values can be set by the -b
          option; size is the number of bytes, optionally suffixed k
          to specify multiplication by 1024.  If file is missing, the
          current directory is used.  The count for a directory
          includes the counts of the contained files and directories.

          The -a option prints the number of blocks for every file in
          a directory.  Normally counts are printed only for contained
          directories.

          The -f option ignores errors, otherwise it stops on the
          first error.

          The -n option prints the size in bytes and the name of each
          file; it sets -a.

          The -t option prints, in the format of du -n, the modified
          time of each file rather than the size.  If the options -tu
          are specified then the accessed time is printed.

     SOURCE
          /sys/src/cmd/du.c