We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
if [ ! -f "$STARTED" ];then # 如果文件不存在,则。。。。
这里的-x 参数判断$myPath是否存在并且是否具有可执行权限
if [ ! -x "$myPath"]; then mkdir "$myPath" fi
这里的-d 参数判断$myPath是否存在
if [ ! -d "$myPath"]; then mkdir "$myPath" fi
There was an error while loading. Please reload this page.
[[TOC]]