O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

du

Displays information on disk usage

du [options] [path-list]

The du (disk usage) utility reports how much disk space is occupied by a directory (along with all its subdirectories and files) or a file. By default du displays the number of 1,024-byte blocks that are occupied by the directory or file.

Arguments

Without an argument du displays information about the working directory and its subdirectories and files therein. The path-list specifies the directories and files you want information on.

Options

Without any options du displays the total storage used for each argument in path-list. For directories du displays this total only after recursively listing the totals for each subdirectory.

--all

-a Displays the space used by all ordinary ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required