if [ ! -d "/myfolder" ]; then
mkdir /myfolder
fi
注意[]中的空格,否则会报错
相关文章:
if [ ! -d "/myfolder" ]; then
mkdir /myfolder
fi
注意[]中的空格,否则会报错
相关文章: