--- layout: page category-title: Basic commands category-page: basic tags: Close shell author: Marzio Lunghi title: Closing the shell ---
If you want to close the shell session, there are several ways to do so:
^ (control) + D
. Although this key combination closes the shell,
it doesn't quit the terminal application as it just saves and closes the current session.
A closed session does not allow any input or output anymore.
exit
command. Unlike the mentioned key combo, exit also quits
the terminal application itself.