Linux 查看目录大小及文件数量命令
查看当前目录大小:
[root@xker.com]# du -sh
查看指定目录大小:
[root@xker.com]# du -sh /www/xker.com
查看当前目录文件总数:
[root@xker.com]# find . -type f |wc -l
查看指定目录文件总数:
[root@xker.com]# find /www/xker.com -type f |wc -l
查看当前目录的目录总数:
[root@xker.com]# find . -type d |wc -l
查看指定目录的目录总数:
[root@xker.com]# find /www/xker.com -type d |wc -l
查看更多关于Linux查看目录大小及文件数量命令 - Linux操作系统的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did21784