/var is getting full

Amedee Van Gasse (on Ubuntu mailing lists) amedee-ubuntu at amedee.be
Sat Oct 10 16:52:48 UTC 2009


On Sat, October 10, 2009 17:49, James Michael Fultz wrote:
> * Didar Hossain <didar.hossain at gmail.com> [2009-10-10 14:44 +0530]:
>> Time to check for the largest disk eating directories -
>>
>> sudo du -sh /var/*
>
> A tip for when looking for space hogs:
>
> $ du -cks * | sort -rn | head -n11
>
> Summarizes the report if you will.  I have it aliased as 'ducks'.
> Gleaned from _UNIX Power Tools_.

Great idea, and if you leave out the c option, you won't get a total if
you don't need that.





More information about the ubuntu-users mailing list