echo "Enter file name:"
read fname

if [ -e $fname ]
then
	echo "File is exist"
else
	echo "File is not exist"
fi

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *