Linux得到某个文件夹内文件的个数

panonum=$(find . -type f | wc -l)
原文地址:https://www.cnblogs.com/lwmp/p/6904760.html