409: Final
Command: du
du
Syntax: du <file>
Arguments: a, k, s, d, o
Description: Display the amount of disk space the file is taking up.
Arguments:
-a - displays the space each file takes up
-k - write file sizes in 1024 (MB) instead of kilobytes
-s - report only the sum instead of each file
-d - do not cross filesystem boundaries (du -d / only displays root partition)
-o - do not add child directories' usage to a parent's total
Arguments:
-a - displays the space each file takes up
-k - write file sizes in 1024 (MB) instead of kilobytes
-s - report only the sum instead of each file
-d - do not cross filesystem boundaries (du -d / only displays root partition)
-o - do not add child directories' usage to a parent's total
Example:
$> du lorem_ipsum.txt
2 lorem_ipsum.txt
$>