Version: 5.7.0
\exit
Exits with the specified code.
note
Exit command can only be used in the interactive and scripting modes.
Usage:
bash
\exit [code]
Parameters:
| Parameter | Required | Description | Default |
|---|---|---|---|
code | Required | The exit code. If the given code is not in the [0,255] range, it exits with code 255. | N/A |
Example:
bash
\exit 10