1

5分钟用wc命令统计代码行数

 9 months ago
source link: https://zhangyiming748.github.io/post/linux_wc/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

5分钟用wc命令统计代码行数

2023-11-23 五分钟已经很棒了

全称 word count

-l 统计行数
-w 统计字符串(单词)
-m 统计字符

find ./your_program_path -type f -name "*.go" -o -name "*.sh" | xargs wc -l

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK