>_ linuxcommand.dev
Startseite exit
Shell

exit

Exits the current shell session.

Syntax
$exit [STATUS]
Examples
Examples
$exit
Examples
$exit 0
Examples
$exit 1
Typical use cases
Exit shell
exit
With exit code
exit 0
Note Built-in Shell command. Exit code 0 = success, others = error.
Export