[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 100% used / file system. Help!



Jörg-Volker Peetz <jvpeetz@web.de> wrote:
>Hi,
>
>Claudius Hubig wrote, on 09/22/11 00:05:
><snip>
>> b) check not only the size of specific directories as given above but
>> the size of _every_ directory in /:
>> 
>> # cd /; du -shcx *
>> 
>> The "x" option makes du stay on the root filesystem, so it ignores
>
>In this command the "x" is useless since * expands to home and du will list the
>disk usage of the home-partition.
>
>As I suggested in another mail, better try something like
>
>  du -hx --max-depth=1 / | sort -h

Of course! Thank you very much for your correction, although

cd /; du -shc *

obviously still works if one wants to include the home directory :)

Thank you again!

Claudius
-- 
This is NOT a repeat.
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



Reply to: