Top 10 Folders system-wide

 

du / 2>/dev/null|sort -n|numfmt --to=iec --from-unit=1024 |tail -n 10

126M /var/lib/mysql
194M /usr/bin
221M /var/www/html
221M /var/www
255M /var/lib
282M /usr/lib
298M /usr/share
591M /var
909M /usr
2.9G /

 Same command with reverse output

du / 2>/dev/null|sort -rn|numfmt --to=iec --from-unit=1024 |head -n 10 

2.9G /
909M /usr
591M /var
298M /usr/share
282M /usr/lib
255M /var/lib
221M /var/www
221M /var/www/html
194M /usr/bin
126M /var/lib/mysql 

  • No labels