[plug] Disk space probs

Leon Blackwell leon at lostrealm.com
Fri Sep 1 11:05:14 WST 2000


On Fri, Sep 01, 2000 at 10:29:19AM +0800, Mike Holland wrote:
> If that fails,  'rm -rf /usr' should fix it.

I assume this is a joke... right?
Definitely not a good solution... please, no one try this.


> du / | sort -n > usage ; tail -50 usage

Much simpler if you just do this:

du / | sort -n | tail -50

That'll save you having a temporary file laying about afterwards.
Although I usually find this much easier:

cd /
du -sh *

Look at the output, cd to the biggest directory and repeat until
you find the culprit, then:

rm -rf <nasty-big-thing-you-don't-want>

:)




-- 
 +----------------------------------------------------------------+
 | Leon Blackwell                       mailto:leon at lostrealm.com |
 | http://www.lostrealm.com/                         ICQ - 424725 |
 +----------------------------------------------------------------+



More information about the plug mailing list