exit
[
(
expr
)
]
Exit a shell script with the status given by
expr
. A status of 0
means success; nonzero means failure. If
expr
is not specified,
the exit value is that of the
status
variable.
exit
can be issued at the command line to close a window (log out).