Find Out Top Ten Largest Files in Linux

chncaesar發表於2013-10-30
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部落格 ” ,連結:http://blog.itpub.net/638844/viewspace-775343/,如需轉載,請註明出處,否則將追究法律責任。

相關文章