Согласно вашему сценарию:
#!/bin/bash function hello () { echo "Hello world" } #call this function as follow: hello # Syntax Correct hello() # Syntax Error