.. _terminal:
Terminals
==========
JupyterLab terminals provide full support for system shells (bash, tsch,
etc.) on Mac/Linux and PowerShell on Windows. You can run anything in
your system shell with a terminal, including programs such as vim or
emacs. The terminals run on the system where the Jupyter server is
running, with the privileges of your user. Thus, if JupyterLab is
installed on your local machine, the JupyterLab terminals will run
there.
.. image:: images/terminal_layout.png
:align: center
:class: jp-screenshot
.. _open-terminal:
To open a new terminal, click the ``+`` button in the file browser and
select the terminal in the new Launcher tab:
.. raw:: html
.. _close-terminal:
Closing a terminal tab will leave it running on the server, but you can
re-open it using the Running tab in the left sidebar:
.. raw:: html
.. _Copy/Paste:
Copy/Paste
----------
For macOS users, ``Cmd+C`` and ``Cmd+V`` work as usual.
For Windows users, ``Ctrl+Insert`` and ``Shift+Insert`` work as usual.
To use the native browser Copy/Paste menu, hold ``Shift`` and right click to bring up the
context menu (note: this may not work in all browsers).
For non-macOS users, JupyterLab will interpret ``Ctrl+C`` as a copy if there is text selected.
In addition, ``Ctrl+V`` will be interpreted as a paste command unless the ``pasteWithCtrlV``
setting is disabled. One may want to disable ``pasteWithCtrlV`` if the shortcut is needed
for something else such as the vi editor.