On 11-Sep-00 Michael R. Jinks wrote:
> Well, one way to do something like this:
>
> du -s * | sort -n | tail -n $NUMBER
>
> ...will give you the top $NUMBER of space users;
not necessarily.
du does left justification. if you're going to sort, you'll need right
justification. One solution which will work might be to pipe du thru
awk, and have awk reprint with right justification, and _then_ sort.
-Greg
----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 12-Sep-00
Time: 10:08:02
If Bill Gates had a dime for every time a Windows box crashed...
...Oh, wait a minute, he already does.
----------------------------------
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list