linux 命令

查询文件一共多少 :  

ls  -l | grep  -c '^-'

查询文件行数

wc -l  test.txt

 

posted @ 2018-12-05 00:09  ComeComeGo  阅读(89)  评论(0编辑  收藏  举报