TIL that recent gnu sort(1) has an ‘-h’ switch that sorts human-formatted numbers (i.e. “2G” > “4K”), so you can eg. du -sh * | sort -h
right? and, uh, I've been doing this the hard way for *checks notes* eleven years! I suppose "recent" is relativepic.twitter.com/PW6T9MfphN
-
-
I’ve always resigned myself to not using human readable units when I need to sort. No longer!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.