您的位置:首页 > 其它

how to count files in directory

2010-05-06 23:40 459 查看
http://techgurulive.com/2009/08/09/how-to-count-files-in-the-current-directory-in-linux/
reference as above

ls -l |wc -l
CAUTION, the link of current foler also as a file ,so as common sense,the result
you should minus one ,that's you want

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: