theshell.ch/site/pages/cmd/basic/2-closeshell.html
bevilj a6515acdb9 order pages for navigation
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@254 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-18 20:38:56 +00:00

22 lines
729 B
HTML

---
layout: page
category-page: basic
category-title: Basic commands
tags: Close shell
author: Marzio Lunghi
title: Closing the shell
previous-page: pages/cmd/basic/1-terminal-toolbar.html
next-page: pages/cmd/basic/3-ls.html
---
If you want to close the shell session, there are several ways to do so:
<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>