阅读背景:

查找目录中文件的数量。

来源:互联网 

Is there any method in Linux to calculate the number of files in a directory (that is, immediate children) in O(1) (independently of the number of files) without having to list the directory first? If not O(1), is there a reasonably efficient way?Is there any method in Linux to calculate the n




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: