bash: Syntax error solved