Table of Contents
Bash 파일이 있는지 체크
if [ ! -f /path/to/file ]
then
echo "File does not exist in Bash"
else
echo "File found. Do something meaningful here"
fi
if [ ! -f /path/to/file ]
then
echo "File does not exist in Bash"
else
echo "File found. Do something meaningful here"
fi