歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> Linux查看目錄大小及文件數量命令

Linux查看目錄大小及文件數量命令

日期:2017/3/1 16:17:58   编辑:關於Linux
Linux查看目錄大小及文件數量命令 查看當前目錄大小: [[email protected]]# du -sh 查看指定目錄大小: [[email protected]]# du -sh /www/xker.com 查看當前目錄文件總數: [[email protected]]# find . -type f |wc -l 查看指定目錄文件總數: [[email protected]]# find /www/xker.com -type f |wc -l 查看當前目錄的目錄總數: [[email protected]]# find . -type d |wc -l 查看指定目錄的目錄總數: [[email protected]]# find /www/xker.com -type d |wc -l
Copyright © Linux教程網 All Rights Reserved