re: These are a few of my favorite: Terminal Shortcuts VIEW POST


I use a lot
du -sh */ | sort -h
To order current folder files by size


The -h flag comes invalid (I'm on a Mac). Thanks for that tip though! This is pretty cool!


They might've been going for sort -n instead. It sorts numerically instead of alphabetically (the only reasonable sort for du output). :-)

code of conduct - report abuse