24
rated 0 times
[
24]
[
0]
/ answers: 1 / hits: 53694
/ 3 Years ago, mon, august 9, 2021, 4:17:11
Trying to run some bash functions , but keep encountering syntax error: "(" unexpected.
I've try'ed removing the brackets,parenthesis etc etc...nothing seems to work.
$ bash --version
GNU bash, version 4.3.46(1) release
#!/bin/bash
function hello () {
echo "Hello world"
}
More From » bash