December 17, 2010
bash, bashrc, code snippet, linux code
This is a quick tip to fix a problem that has always bugged me.
When showing disk usage in a human readable form (KB, MB, GB) for each subdirectory using du -sh *, how can you properly sort it by size.
du -sh *
Back to top