2019-03-15

linux sort data size


Google'ed by: linux sort data size



https://serverfault.com/questions/62411/how-can-i-sort-du-h-output-by-size




Reference script: du | sort -nr | cut -f2- | xargs du -hs





Script that I used:

du --max-depth=1 / | grep -v '\.' | sort -nr | cut -f2- | xargs du -hs


No comments:

Post a Comment