Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Linux - disk usage (du) human readable and sorted by size (earthinfo.org)
25 points by csm888 on May 17, 2009 | hide | past | favorite | 2 comments


This is a good argument for seperating content from presentation, in the same method an object shell does. For every workaround, there's still the underlying issue needing workarounds in the first place.


this is my solution, comments?

du -s * 2>/dev/null | sort -n | cut -f2 | xargs du -sh 2>/dev/null




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: