Check if a file exist in a linux script
This question already has an answer here:
if [[ -e "$1/file.txt" ]]; then
echo "It exists"
fi
链接地址: http://www.djcxy.com/p/24122.html
上一篇: 文件是否存在?
下一篇: 检查一个文件是否存在于linux脚本中