On Thu, 1 Oct 2015, Philip Webb wrote:

> 151001 the...@sys-concept.com wrote:
> > How do you folks clean-up root partition, I have too much junk in there.
> >   df -h
> >   Filesystem      Size  Used Avail Use% Mounted on
> >   /dev/sda3        74G   61G  9.3G  87% /
> > I've already removed all the files from  /usr/portage/distfiles .
> 
> 'du' is your friend : it has lots of options, so read the 'man'.
> that will tell you what's using so much space, then you can delete stuff.

I highly recommend sys-fs/ncdu, an ncurses front end to du. Definitely
much better than piping du output through sort. You can even directly
delete folders/files when you see that something is taking up more space
than expected.

Reply via email to