<s>
In	O
computing	O
,	O
exit	O
is	O
a	O
command	B-Application
used	O
in	O
many	O
operating	B-General_Concept
system	I-General_Concept
command-line	B-Application
shells	B-Operating_System
and	O
scripting	B-Language
languages	I-Language
.	O
</s>
<s>
The	O
command	B-Application
causes	O
the	O
shell	O
or	O
program	O
to	O
terminate	B-Operating_System
.	O
</s>
<s>
If	O
performed	O
within	O
an	O
interactive	O
command	B-Application
shell	O
,	O
the	O
user	O
is	O
logged	O
out	O
of	O
their	O
current	O
session	O
,	O
and/or	O
user	O
's	O
current	O
console	B-Device
or	O
terminal	B-General_Concept
connection	O
is	O
disconnected	O
.	O
</s>
<s>
Typically	O
an	O
optional	O
exit	B-Operating_System
code	I-Operating_System
can	O
be	O
specified	O
,	O
which	O
is	O
typically	O
a	O
simple	O
integer	O
value	O
that	O
is	O
then	O
returned	O
to	O
the	O
parent	B-Operating_System
process	I-Operating_System
.	O
</s>
<s>
Operating	B-General_Concept
systems	I-General_Concept
,	O
shells	B-Operating_System
and	O
scripting	B-Language
languages	I-Language
providing	O
this	O
command	B-Application
include	O
Microsoft	O
MSX-DOS	B-Operating_System
version	O
2	O
,	O
IBM	B-Application
OS/2	I-Application
,	O
DR	B-Operating_System
FlexOS	I-Operating_System
,	O
HP	B-Operating_System
MPE/iX	I-Operating_System
,	O
KolibriOS	B-Operating_System
,	O
SymbOS	O
,	O
cmd.exe	B-Device
,	O
sh	B-Device
,	O
ksh	B-Language
,	O
Perl	B-Language
,	O
AWK	B-Application
,	O
PHP	B-Application
,	O
TCL	B-Application
,	O
PowerShell	B-Application
and	O
others	O
.	O
</s>
<s>
On	O
MS-DOS	B-Application
,	O
the	O
command	B-Application
is	O
available	O
in	O
versions	O
2	O
and	O
later	O
.	O
</s>
<s>
DR	O
DOS	O
6.0	O
and	O
Datalight	O
ROM-DOS	B-Operating_System
also	O
include	O
an	O
implementation	O
of	O
the	O
command	B-Application
.	O
</s>
<s>
It	O
is	O
also	O
available	O
in	O
the	O
open	O
source	O
MS-DOS	B-Application
emulator	B-Application
DOSBox	B-Application
.	O
</s>
<s>
The	O
numerical	B-General_Concept
computing	I-General_Concept
environment	O
MATLAB	B-Language
includes	O
an	O
exit	O
function	O
with	O
similar	O
functionality	O
.	O
</s>
