linux shell 编程 ... test命令(如果不想使用tset可以使用“[ 表达式 ]”来代替,表达式前后有空格) test -e file 测试文件是否存在,存在为真 test -d file 测试文件是否存在且是目录,是则为真 ...
基于1个网页-相关网页
test -e file
测试文件
以上为机器翻译结果,长、整句建议使用 人工翻译 。
应用推荐
模块上移
模块下移
不移动