du -ks | sort -nr
Unix Tips #2097 to the rescue. On Wed, 2002-09-18 at 15:24, Roger Schmeits wrote: > How do I list only the top level directory sizes? > i.e. ./smith.roger > ./smith.roger/data > ./smith.roger/downloads > ./smith.roger/docs > I only want the size of ./smith.roger not subdirectories. > > have tried du -m -S (list every directory agh) but I need a more compact > listing for the boss. > > tried du -m -s but only does /mnt/public at the very top level (not > detailed enough). > > There are hundreds of top-level and subdirectories so compact method is > needed. > > Any ideas? > > Thanks. > > Roger > > > -- > ********************************** > Roger Schmeits > System Analyst > Clarkson College > http://www.clarksoncollege.edu > Omaha, NE USA > 1-800-647-5500 x22542 > ********************************* > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- ********************************** Roger Schmeits System Analyst Clarkson College http://www.clarksoncollege.edu Omaha, NE USA 1-800-647-5500 x22542 ********************************* -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list