On Sat, 28 Feb 2015 13:15:42 +0100
Petter Adsen <pet...@synth.no> wrote:

> I want to do a "du -sh *" in a directory, and sort the directories by
> sizes. The problem is that they are listed (since I use the "-h"
> option) in human-readable format. Is there an easy way to do this, so
> that 254G comes before 1,3T?

Use sort -h ?
 
Cheers,
 
Ron.
-- 
                        Have you ever imagined a world
                      with no hypothetical situations ?
                                    
                   -- http://www.olgiati-in-paraguay.org --
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150228092922.742d0...@ron.cerrocora.org

Reply via email to