centos统计某个文件夹占用空间大小

  • A+
所属分类:linux

最最最常用的,记住这一个即可:du -sh *

执行结果如下:

[root@iZbp1g3u73g9nya83ih8itZ storage]# du -sh *
25M     apache-snapshots
2.1G    central
67M     central-m1
425M    central_repository
112K    javamall
2.1G    public
747M    releases
609M    snapshots
874M    spring-release
2.5M    thirdparty
ZPY

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: