Reference: du
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T21:52:41Z

#

| Chapter 2 UNIX Commands |

## du

    du [options] [directories]

Print disk usage; i.e., the number of 512-byte blocks used Print disk usage; i.e., the number of kilobytes used by each named directory and its subdirectories (default is current directory).

### Options

-a

  Print usage for all files, not just subdirectories.

-r

  Print "cannot open" message if a file or directory is inaccessible.

-s

  Print only the grand total for each named directory.

Reference: dpost |  | Reference: echo