Quote:
Originally Posted by crabboy
Your first post ever on LQ and this is the best you can do? A pointless comment to a 5 year old post.
|
I thought it was funny and noone got hurt.
Back on topic though: I didn't know of
sort or its options but to list it will list input in reverse, numeric order.
With the
du prepending directories' sizes, it saves a lot of skimming, if, for example, you're looking for the first 5 directories using the most storage.
Code:
du ./* -d 0 -m | sort -nr | head -n 5
Quote:
56102 ./Black Metal
7405 ./Alternative
5424 ./Sognametal
1991 ./Soundtrack
697 ./Classical
|