I am getting syntax error with (( )) brackets,
read -p "enter the file name: " file
if (( -e "$file" ))
then
echo " $file exit"
else
echo " $file not exit "
fi
I am getting syntax error with (( )) brackets,
read -p "enter the file name: " file
if (( -e "$file" ))
then
echo " $file exit"
else
echo " $file not exit "
fi