Linux 如何查看一个文件夹下面有多少个文件



Linux 如何查看一个文件夹下面有多少个文件
$ tree

$ find ./ -type f | wc -l

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