Update wc.md

This commit is contained in:
小弟调调™ 2021-02-02 13:06:39 +08:00 committed by GitHub
parent 2f69295d89
commit cc5bb1fb2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -65,4 +65,20 @@ expr $(ls -l | wc -l) - 1
8
```
统计当前目录下的所有文件行数及总计行数
```shell
[root@centos7 ~]# wc -l *
21 LICENSE
270 README.md
wc: example: read: Is a directory
785 lerna-debug.log
25 lerna.json
wc: node_modules: read: Is a directory
23603 package-lock.json
79 package.json
3 renovate.json
24786 total
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->