hello..i am doing a script for checking a file/folder if it exist tin a directory.
the script is in root directory and it looks like this
if [ -f /root/abc.sh ]; then
echo "file found"
echo "file not found"
i got two error:
unexpexted EOF while looking matching
syntax error: unexpected end of file