mirror of
https://github.com/Estom/notes.git
synced 2026-04-08 13:30:31 +08:00
9 lines
318 B
Bash
9 lines
318 B
Bash
git push -f git@github.com:Estom/notes.git
|
|
git push git@github.com:Estom/notes.git
|
|
|
|
|
|
# 统计代码的数量
|
|
find . -name "*.java" -exec wc -l {} \;#利用exec参数
|
|
find . -name "*.java" |xargs wc -l # 利用xargs参数
|
|
find . -name "*.java" -exec wc -l {} \; | awk 'BEGIN{num=0} {num+=$1;print $1;}END{print num}'
|