Vij*_*jay 12 unix file manpage
我看到了手册页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.
Run Code Online (Sandbox Code Playgroud)
如果pathname解析为存在的文件并且是常规文件,则该-f标志表示
True
可以告诉任何人什么是常规文件以及什么不是常规文件.
| 归档时间: |
|
| 查看次数: |
12084 次 |
| 最近记录: |