Linux 查看目录大小及文件数量命令

本文发布时间: 2019-Mar-22
查看当前目录大小:[[email protected]]# du -sh查看指定目录大小:[[email protected]]# du -sh /www/21andy.com查看当前目录文件总数:[[email protected]]# find . -type f |wc -l查看指定目录文件总数:[[email protected]]# find /www/21andy.com -type f |wc -l查看当前目录的目录总数:[[email protected]]# find . -type d |wc -l查看指定目录的目录总数:[[email protected]]# find /www/21andy.com -type d |wc -l


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:11pm
栏目列表