du -a | sort -nr | head -10
-a : all files, not just directory.
-n: sort by string numeric value.
-r: reverse the order. By default, sort is in the ascending order.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/638844/viewspace-775343/
,如需转载,请注明出处,否则将追究法律责任。