How to list directory size?

Robert Dailey rcdailey at gmail.com
Sat Jun 28 16:33:34 UTC 2008


On Sat, Jun 28, 2008 at 11:11 AM, Karl Larsen <k5di at zianet.com> wrote:

> 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.


That's almost what I'm looking for, except I don't want it to be recursive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080628/361857e3/attachment.html>


More information about the ubuntu-users mailing list