How to use else if statement in bash