2018-11-12 12:51:17 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
category-page: basic
|
2018-11-16 12:47:48 +00:00
|
|
|
category-title: Basic commands
|
2018-11-12 12:51:17 +00:00
|
|
|
tags: Close shell
|
|
|
|
author: Marzio Lunghi
|
2018-11-12 13:17:56 +00:00
|
|
|
title: Closing the shell
|
2018-11-18 20:38:56 +00:00
|
|
|
previous-page: pages/cmd/basic/1-terminal-toolbar.html
|
|
|
|
next-page: pages/cmd/basic/3-ls.html
|
2018-11-12 12:51:17 +00:00
|
|
|
---
|
2018-11-14 08:56:17 +00:00
|
|
|
If you want to close the shell session, there are several ways to do so:
|
2018-11-12 12:51:17 +00:00
|
|
|
|
2018-11-14 08:56:17 +00:00
|
|
|
<ul>
|
|
|
|
<li>Press <code>^ (control) + D</code>. 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.
|
|
|
|
</li>
|
|
|
|
<li>Insert the <code>exit</code> command. Unlike the mentioned key combo, exit also quits
|
|
|
|
the terminal application itself.
|
|
|
|
</li>
|
|
|
|
</ul>
|