版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zh_1191/article/details/89183005
ls -lR yourdir |grep "^-" |wc -l
例如:
[root@teryun1 med]# ls -lR adFiles |grep "^-" |wc -l
37
[root@teryun1 med]#
ls -lR yourdir |grep "^-" |wc -l
例如:
[root@teryun1 med]# ls -lR adFiles |grep "^-" |wc -l
37
[root@teryun1 med]#