Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
du PDF Print E-mail
Monday, 14 December 2009 18:24
AddThis Social Bookmark Button

Command du

du command displays the amount of disk space occupied by files or directories.

Syntax

du [options] [directories_or_files]

Options

-a displays information about memory usage for all files (not only for directories).
-b displays the information in bytes (rather than in kilobytes).
-c displays summary information on the use of disk space.
-k displays the information in kilobytes (default).
-s displays summary information on the use of disk space without directory information.

Description

The du command displays the amount of disk space (in kilobytes) occupied by the specified files or directories. By default, du displays the amount of disk space used each directory and subdirectories. Usually a team du applied to the total output volume of disk space occupied by the current directory. For example, here so you can find details of the use of disk space a directory /var/log: du /var/log

 

Add comment


Security code
Refresh

Useful Links

Follow us on ...

  • Digg: hgevs
  • Facebook Page: 180986722511
  • Linked In Group: 2571120
  • Ning: linuxconfignet
  • Twitter: linuxconfignet

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)