Check If File Does Not Exist
if [[ ! -f /tmp/file12 ]]
then
echo "File not found, (or something is found but its not a file Eg. its a directory)"
else
echo "File found"
fi
if [[ ! -f /tmp/file12 ]]
then
echo "File not found, (or something is found but its not a file Eg. its a directory)"
else
echo "File found"
fi