Find Large Files in Linux

by Ron on August 1, 2008

This doesn’t work perfectly, but I often use it to start tracking down disk hogs:

To return the 10 largest items in a given directory:

du -cksh * |sort -rn |head -11

Some times it’s helpful to view all

du -cksh * |sort -rn

If someone has a better approach, please comment.

Bookmark and Share

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>