Debian: how to decently sort du -sh *
blog.giuseppeurso.net
blog.giuseppeurso.net
du -h | sort -h
sort -rh for reverse sorting, pipe into head or tail for the first/last few etc.
http://www.cyberciti.biz/faq/how-do-i-sort-du-h-output-by-si...
du -sk |sort -n
Sure, the results are in kilobytes but it's not that hard to read. It's even clearer in a way, it's obvious at a glance as to which entries are orders of magnitude bigger, since they have more numbers next to them.