'Root is full' problem
Colin Law
clanlaw at gmail.com
Mon Jul 6 15:18:22 UTC 2015
On 6 July 2015 at 16:11, R Kimber <richardkimber at btinternet.com> wrote:
> On Mon, 6 Jul 2015 16:00:11 +0100
> Colin Law wrote:
>
>> 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.
>
> In fact, it turned out that it wasn't one very large file but many files.
>
>> 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
>
> Thanks. ncdu doesn't seem to be in the repos, Ill have to look for it.
It should be, which Ubuntu are you using and what does
apt-cache policy ncdu
show?
Colin
More information about the ubuntu-users
mailing list