'Root is full' problem

Colin Law clanlaw at gmail.com
Mon Jul 6 15:00:11 UTC 2015


On 6 July 2015 at 14:05, Richard Kimber <richardkimber at btinternet.com> wrote:
>
> I've hunted for large files but can't see anything obvious.  There ought to be an easy way of listing files larger than a particular size (e.g. 1GB), but I don't know what it might be.

To get a sorted directory usage from current directory down use
sudo du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh | more

sudo not required unless permissions require it of course.

Even better is to install ncdu if you can then
sudo ncdu -x /path/to/analyse

Colin




More information about the ubuntu-users mailing list