while [[ ! -e $ZipFile ]]
do
echo " Enter the Zip File Name : \c"
read ZipFile
done
In the above snippet - I want it ask for file name first time and once validation fails, I want it add a msg that its entered file name doesn't exist and ten prompt for file name again.
Could be silly.- But it just that I not able get a logic for it.