ubuntu show top largest directories

Let us talk about scripts, HTML, Perl, PHP, apache, etc.

ubuntu show top largest directories

Postby Stevyn » Thu Aug 30, 2018 4:45 am

https://serverfault.com/questions/20094 ... nix-ubuntu


I always use syntax like

Code: Select all
du -sm --max-depth=4 /path/i/want/to/drill | sort -nr | head -n 20


max-depth and head parameters can vary, of course, but the above would list 20 biggest directories.


Nov 12 '10 at 8:08
Janne Pikkarainen
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Return to WEBMASTER CHAT



Who is online

Users browsing this forum: No registered users and 1 guest

cron