home

Quickies, by Andrea Olivato

text

Du sort by size and human readable

Quick example to improve the du command output by displaying the biggest 10 subfolder of the current folder, each with its human redable size.

	
du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh | head -n 10

Found on ubuntu forums

2 months ago

December 7, 2011
Comments (View)
blog comments powered by Disqus