统计文件总个数

ls -l |grep "^-"|wc -l

原文地址:https://www.cnblogs.com/hutudan/p/5549512.html