Difference between revisions of "Du"

From DevOps Notebook
Line 1: Line 1:
 
== find top 10 largest directories ==
 
== find top 10 largest directories ==
 
<pre>
 
<pre>
# du -hs * | sort -rh | head -5
+
# du -hs * | sort -rh | head -10
 
</pre>
 
</pre>

Revision as of 11:47, 7 December 2019

find top 10 largest directories

# du -hs * | sort -rh | head -10