linux 文件节点
On Linux, to find the number of files (inodes) in a directory:
$ find ./ | wc -l
to find the number of files (not directories) in a directory:
查找目录中文件(不是目录)的数量:
$ find ./ -type f | wc -l
to find the number of directories in a directory:
查找目录中的目录数:
$ find ./ -type d | wc -l
翻译自: https://www.systutorials.com/finding-the-number-of-files-inodes-in-a-directory-on-linux/
linux 文件节点