You are here: >

Linux and Unix exit command

exit commandAbout exit
exit syntax
Related commands
Linux and Unix main page

About exit

Issuing the exit command at the shell prompt will cause the shell to exit.

In some cases, if you have jobs running in the background, the shell will remind you that they are running and simply return you to the command prompt. In this case, issuing exit again will terminate those jobs and exit the shell.

Common aliases for exit include "bye", "logout", and "lo".

exit syntax


login — Begin a session on a system.
csh — The C shell command interpreter.
ksh — The Korn shell command interpreter.
sh — The Bourne shell command interpreter.