du命令

选项

 

例1:显示单个文件的大小(默认单位K)

[root@zabbix alertscripts]# du -h sendim.py 
4.0k    sendim.py

例2:显示某个目录的总大小

例3:输出当前目录下各个子目录所用的空间

 

posted @ 2019-03-15 21:45  New_Journey  阅读(276)  评论(0编辑  收藏  举报