Linux 常用命令点滴总结

find

(1)统计文件个数 

find . -name "*.html" | wc -l 


(2)统计代码行数
find . -name "*.html" | xargs wc -l

你可能感兴趣的:(Linux 常用命令点滴总结)