Shell > shell 统计所有文件行数 上一篇 | 下一篇
标签: shell, find, wc, cat
find . -type f \( -name "*.php" -or -name "*.js" -or -name "*.css" \) |xargs cat|grep -v ^$|wc -l