cc_staff
284
edits
(Marked this version for translation) |
(Added section on finding directories consumming most disk space) |
||
Line 16: | Line 16: | ||
find $FOLDER -type f | wc -l | find $FOLDER -type f | wc -l | ||
done</pre> | done</pre> | ||
=Finding folders using most disk space= | |||
The following code will output the 10 directories using the most disk space. | |||
{{Command|du -sh * {{!}} sort -hr {{!}} head -10}} | |||
=Solutions= <!--T:5--> | =Solutions= <!--T:5--> |