I'm a newbie in programming shell scripts. I want to write a script for the following but I don't know how, anyone knows please help. thanks
if (success find a file "A" in the current directory)
echo "found it"
else (do something else)
I tried to use the find utility but got an error like if: Expression syntax