openwares.net

Freedom & Beauty

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Search
  • Table of Contents
  • Overview

openwares

open source and free matters
994 posts
18 categories
42 tags
0%

一条命令统计源代码行数

Posted on 2015-03-30 Edited on 2025-05-19 In GNU/Linux

一条命令统计源代码行数

1
$ find . -name "*.java" -or -name "*.js" | xargs cat | wc -l 

去空行版:

1
$ find . -name "*.java" |  xargs grep -v "^$" | wc -l 
使用xrandr配置显示 - 内置显示设备和外接显示设备(投影仪等)
markdown可视化编辑器
© 2025 openwares
Powered by Hexo & NexT.Muse