exit ( en )

Last modification : 2013/01/26 19:16

The exit internal command is used to quit the current interactive shell, or the current running script.
It is the only command case nonsensitive.

The syntax is: exit [return_code]
It should be followed by the return code of the script. By default the return code is 0.
msh> Exit 1
In interactive mode it is possible to quit with the CTRL+D key.