June 2004
Intermediate to advanced
1056 pages
39h 58m
English
return
return [n]Normally used inside a function to exit the function with status
n or with the exit status of the
previously executed command. Can be used outside a function during
execution of a script by the . command to cause the shell to stop
execution of the script. The return status is
n or the script’s exit
status.
Read now
Unlock full access