[Gllug] Mandrake is too clever by half (0.5)

Stephen Harker steve at pauken.co.uk
Thu Jul 3 12:11:50 UTC 2003


On Thursday 03 July 2003 12:52, Gordon Joly wrote:
> Mandrake is too clever by half....
>
> I have often invoked....
>
> du -s * | sort -n
>
> "Clever clever" Mandrake give the results of du (be default?) as
>
> 1.1G
> 20k
> 246M
> 23M
>
> etc so you cannot pipe to "numerical sort" as above...

Try using du -b to get answers in bytes 

  du -b -s * | sort -n

SteveH

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list