Bash Scripting - Functions
How can you capture both the output message and the return status of a bash function
myfunc?myfunc?output=$(myfunc) to store echoed text.status=$? stores the function's return code.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions