bash sh – command not found 

Remove ; from the end of your script lines.

This doesn’t happen in my bash, so I’m not sure what exactly is wrong, but my guess is this:

; is a separator of commands. Since your last command ends in ;, your bash probably expects another command after. Since the script finishes, though, it reads an empty command, which it can’t execute.

Leave a Comment