程序代码:
#!/bin/bash
if[ ! - f A19200264.sh ]
then
rm -rf A19200264.sh
mkdir -p A19200264.sh
echo”成功!”
elif
[ i -d A19200264.sh ]
then
rm -rf A19200264.sh
echo “删除成功”
else
touch A19200264.sh
echo”文件创建成功!”
fi
#!/bin/bash
#filename=3.sh
if[[ ! -x “a19200264.sh ]]
then
chmod +x a19200264.sh
else
echo”该文件为可执行文件”
fi