Bash Scripting - Functions
Identify the error in this bash function:
myfunc() {
return "Success"
}
myfunc
echo $?myfunc() {
return "Success"
}
myfunc
echo $?return must be followed by a numeric status (0-255), not a string.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions