linux查看文件目录大小

如果查看某个目录下所有文件及文件的大小:

du –sh *

 

按照文件大小排序

du –sh * |sort –n

猜你喜欢

转载自yangweixu.iteye.com/blog/2264430