我看到了test
.
在下面提到的地方。
-e pathname
True if pathname resolves to a file that exists. False if pathname cannot be resolved.
-f pathname
True if pathname resolves to a file that exists and is a regular file. False if pathname cannot be resolved, or if pathname resolves to a file that exists but is not a regular file.
如果路径名解析为存在且是常规文件的文件,则标志-f
为
True
任何人都可以告诉我什么是常规文件,什么不是常规文件。