User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:disk [2015/11/27 13:42]
asa created
wiki:disk [2016/08/02 14:47] (current)
Line 56: Line 56:
 <code bash> <code bash>
 $ du -sh cs580/ $ du -sh cs580/
 +408K cs580/
 +Another useful option is the ''​--max-depth''​ option, which tells du to only list things up to a certain depth:
 +<code bash>
 +$ du -h --max-depth=1 cs580/
 +404K cs580/​playground
 +408K cs580/
 +Note that this is the ''​long''​ version of the ''​-d''​ option:
 +<code bash>
 +$ du -h -d1 cs580/
 +404K cs580/​playground
 408K cs580/ 408K cs580/
 </​code>​ </​code>​
wiki/disk.1448656962.txt.gz ยท Last modified: 2016/08/02 14:47 (external edit)