terminal.rst 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .. _terminal:
  2. ==========
  3. Terminals
  4. ==========
  5. JupyterLab terminals provide full support for system shells (bash, tsch,
  6. etc.) on Mac/Linux and PowerShell on Windows. You can run anything in
  7. your system shell with a terminal, including programs such as vim or
  8. emacs. The terminals run on the system where the Jupyter server is
  9. running, with the privileges of your user. Thus, if JupyterLab is
  10. installed on your local machine, the JupyterLab terminals will run
  11. there.
  12. .. image:: images/terminal_layout.png
  13. :align: center
  14. :class: jp-screenshot
  15. .. _open-terminal:
  16. To open a new terminal, click the ``+`` button in the file browser and
  17. select the terminal in the new Launcher tab:
  18. .. raw:: html
  19. <div class="jp-youtube-video">
  20. <iframe src="https://www.youtube-nocookie.com/embed/ynMjz1tiq9o?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
  21. </div>
  22. .. _close-terminal:
  23. Closing a terminal tab will leave it running on the server, but you can
  24. re-open it using the Running tab in the left sidebar:
  25. .. raw:: html
  26. <div class="jp-youtube-video">
  27. <iframe src="https://www.youtube-nocookie.com/embed/gDM5lwU6Dmo?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
  28. </div>
  29. .. _Copy/Paste:
  30. ~~~~~~~~~~~~
  31. Copy/Paste
  32. ~~~~~~~~~~~~
  33. For both Windows and Mac users, press ``shift`` + ``right-click`` to get to the right-click menu from inside Jupyterlab terminal. Or by using shortcut keys as follows:
  34. * **For Mac users:**
  35. **Copy** : ``Cmd`` + ``c``
  36. **Paste**: ``Cmd`` + ``v``
  37. * **For Windows users (Power shell):**
  38. **Copy** : ``Ctrl`` + ``Insert``
  39. **Paste** : ``Shift`` + ``Insert``