This page contains a list of user images about Du which are relevant to the point and besides images, you can also use the tabs in the bottom to browse Du news, videos, wiki information, tweets, documents and weblinks.
Music video by Rihanna performing Take A Bow. YouTube view counts pre-VEVO: 66288884. (C) 2008 The Island Def Jam Music Group.
A substitute teacher from the inner city refuses to be messed with while taking attendance.
Download This Song: http://bit.ly/KzLBGB Click to Tweet this Vid-ee-oh! http://bit.ly/Nt9lg8 Hi. My name is Nice Peter, and this is EpicLLOYD, and this is th...
Macklemore & Ryan Lewis present the official music video for Can't Hold Us feat. Ray Dalton. Can't Hold Us on iTunes: https://itunes.apple.com/us/album/cant-...
This video accidentally turned out kind of sad, ME SO SOWWY IT NOT POSED TO BE SAD WHO WANTS HUGS AND COOKIES? Also, FYI for anyone attempting this, it takes...
So i was pretty hesitant to make this video... but after all of your request, here is my Draw My Life video! Check out my 2nd Channel for more vlogs: http://...
Buy at iTunes: http://goo.gl/zv4o9. New album on sale now! http://turtleneckandchain.com.
download this song: http://bit.ly/ERB17 click to tweet this vid-ee-oh! http://clicktotweet.com/vCJ_8 This. Is. Merchandise: http://bit.ly/ERBMerch Hi. My nam...
Follow on Twitter! - https://twitter.com/#!/GavinFree Watch this one in HD! The slow mo guys are well aware that water balloons are always good in slow motio...
Buy on iTunes: http://www.Smarturl.it/TTT Amazon: http://idj.to/svJVGM Music video by Rihanna performing Where Have You Been. ©: The Island Def Jam Music Group.
See Harrison Ford in 42! Go to http://42movie.warnerbros.com/ Jimmy Kimmel Live - Harrison Ford Won't Answer Star Wars Questions Jimmy Kimmel Live's YouTube ...
An Epic Rap Battle to determine who is the more manly man. Get the Song on iTunes: http://bit.ly/ERBofManliness Check out the Behind the Scenes: http://youtu...
du utility first appeared in version 1 of AT&T UNIX.
By default, the Single Unix Specification (SUS) specifies that
du is to display the file space allocated to each file and directory contained in the current directory. Links will be displayed as the size of the link file, not what is being linked to; the size of the content of directories is displayed, as expected.
du reports allocation space and not absolute file space, the amount of space on a file system shown by
du may vary from that shown by
df if files have been deleted but their blocks not yet freed. Also the minfree setting that allocates datablocks for the filesystem and the super user processes creates a discrepancy between total blocks and the sum of used and available blocks. The minfree setting is usually set to about 5% of the total filesystem size. For more info see core utils faq.
du takes a single argument, specifying a pathname for du to work; if it is not specified, the current directory is used. The SUS mandates for du the following options:
- -a, display an entry for each file (and not directory) contained in the current directory
- -c, display a grand total of the disk usage found by the other arguments
- -d #, the depth at which summing should occur. -d 0 sums at the current level, -d 1 sums at the subdirectory, -d 2 at sub-subdirectories, etc.
- -H, calculate disk usage for link references specified on the command line
- -k, show sizes as multiples of 1024 bytes, not 512-byte
- -L, calculate disk usage for link references anywhere
- -s, report only the sum of the usage in the current directory, not for each file
- -x, only traverse files and directories on the device on which the pathname argument is specified.
Other Unix and Unix-like operating systems may add extra options. For example, BSD and GNU
du specify a -h option, displaying disk usage in a format easier to read by the user, adding units with the appropriate SI prefix (e.g. 10 MB).
Sum of directories (-s) in kilobytes (-k):
$ du -sk * 152304 directoryOne 1856548 directoryTwo
Sum of directories (-s) in human-readable format (-h : Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte):
$ du -sh * 149M directoryOne 1.8G directoryTwo
disk usage of all subdirectories and files including hidden files within the current directory (sorted by filesize) :
$ du -sk .[!.]* *| sort -n
disk usage of all subdirectories and files including hidden files within the current directory (sorted by reverse filesize) :
$ du -sk .[!.]* *| sort -nr
The weight (size) of each subdirectory under the current directory (-d 1) with a sum total at the end (-c) all displayed in human-readable format (-h):
$ du -d 1 -c -h or with du from GNU: $ du --max-depth=1 -c -h
The weight (size) of subdirectories under the root directory (-d 1, trailing /) with a sum total at the end (-c), all displayed in human-readable format (-h) without traversing into other filesystems (-x). Useful when /var /tmp or other directories are on separate storage from the root directory:
$ du -d 1 -c -h -x / or with du from GNU: $ du --max-depth=1 -c -h -x /
See also 
- The Single UNIX® Specification, Issue 7 from The Open Group : estimate file space usage – Commands & Utilities Reference,
Manual pages 
- du — manual page from GNU coreutils
- du — manual page from OpenBSD
- du — manual page from Dragonflybsd
- Disk space-related utilities at Freshmeat.net