Bash Scripting - Functions
In bash scripting, what does the
return command inside a function do?return command inside a function do?return in bash functionsreturn command sends a numeric exit status (0-255) back to the caller, indicating success or failure.echoecho, which prints text output, return only sends a number status, not text.return = numeric status [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions