CmdID

CmdID / Commands

return

Exit a function. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Exit a function. Can exit out of a script if run with source.

Exit a function prematurely

func_name() { echo "This is reached"; return; echo "This is not"; }Identify

Specify the function's return value

func_name() { return exit_code; }