#!/bin/bash
file_path="/opt/boot-jar/sh/mdt.sh"
if [ -e "$file_path" ]; then
echo "File exists"
else
echo "File does not exist"
fi
demo sh
最新推荐文章于 2024-07-22 20:43:37 发布
#!/bin/bash
file_path="/opt/boot-jar/sh/mdt.sh"
if [ -e "$file_path" ]; then
echo "File exists"
else
echo "File does not exist"
fi