查看当前目录大小:
[[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