How to list directory size?

Karl Larsen k5di at zianet.com
Sat Jun 28 16:11:50 UTC 2008


Robert Dailey wrote:
> Hi,
>
> I'm currently using Ubuntu Server 8. Is there a way to use the 'ls' command
> to display the size of a directory? That is, the size should be the added
> size of the contents of files and other subdirectories (recursive).
>
>   
    I use $du -h which tells you how many gigabytes you have.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list