I am stuck in this step for some time, I have followed the instructions but couldn’t get it to work.
if [ condition] then echo xxx else echo xxx fi
Why do it keep saying “fi” is syntax error?
Also I have to add set
ff=unix otherwise the command output will say bad interpreter