Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
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
nailer
on May 18, 2009
|
next
[–]
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.
jsares
on May 19, 2009
|
prev
[–]
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: