User guide

exit
exit exit current shell
Exits the current shell with the specified status or returns the status of the last
command executed.
Syntax
exit
exit_value
Arguments
exit_value
Specifies the status code to be returned by the shell.
Examples
1.
>>> exit
Exits returning the status of the previously executed command.
2.
>>> exit 0
Exits with success status.
3.
>>> test || exit
Runs
test
and exits if there is an error.
Console Commands 13–49