how to combine 'du' and 'ls'
Griffith Feeney
gfeeney at gfeeney.com
Sun Dec 17 17:46:09 PST 2000
At 03:31 PM 12/17/00 -1000, you wrote:
>
>prolly many ways, ls -lRk / is pretty straightforward it seems
This gives a _very_ long list. What I'm looking for is something like this:
2.0M bin
1.3M boot
1.0k cdrom
.
.
.
continuing for each directory in /, much less than one full screen full.
>On Sun, 17 Dec 2000, Griffith Feeney wrote:
>
>>How to combine 'ls' and 'du' to get a listing of the space taken by each
>>directory in /?
>>
>>'du -hs bin boot usr' will show size of bin, boot and usr, but you have to
>>type each directory name.
[snip]
More information about the LUAU
mailing list