目录判断: path="/home"
#if [ ! -d ${path} ];then
if [ -d ${path} ];then
echo dir ${path} exist!
else
echo dir ${path} not exist!
fi免费学习视频教程分享:linux视频教程文
Linux
fermos
2021-08-18
0
148