Bash Scripting - Functions
What is wrong with this bash function?
myfunc() {
return success
}
myfunc
echo $?myfunc() {
return success
}
myfunc
echo $?return command in bash functions only accepts numeric values (0-255).success as an argument causes an error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions