Bash Scripting - Functions
Identify the error in this Bash function:
myfunc() {
local 1var=100
echo $1var
}
myfuncmyfunc() {
local 1var=100
echo $1var
}
myfunclocal 1var=100 is invalid due to starting digit.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions