Linux / Unix exit command

Quick links

About exit
Syntax
Examples
Related commands
Linux / Unix main page

About exit

Allows you to exit from a program, shell or log you out of a Unix network.

Syntax

exit

Examples

exit - If supported would exit you from the program, shell or log you out of network.

Note: If exit does not log you out you can also do logout, lo, bye, quit, also Ctrl-D may work.

Related commands

break
csh
ksh
sh