[GLLUG] Size of a directory

Phil Dobbin bukowskiscat at gmail.com
Tue Oct 30 14:59:13 UTC 2012


John G Walker wrote:
> I'm being told that I'm running out of disk space in my home directory.
> I don't believe this, but how do I check? 
> 
> I di know but I've forgotten,
> 

Well, `du -ch | grep total` will give you the size of any directory you
are in in & `df -h` will show you the sizes of any disks/partitions that
are mounted.

Cheers,

  Phil...

-- 
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy, OS X Snow
Leopard, Ubuntu Precise & Quantal


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 661 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20121030/7d699c4d/attachment.pgp>


More information about the GLLUG mailing list