Linux and Unix exit command
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".