> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gpuhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JupyterLab

> A guide to using JupyterLab in GPUhub, including its working directory and basic features, to help users work more effectively with data analysis and programming tasks.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-jupyterlab.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=eb2558fb9be649d515406b06aac0f416" alt="" width="55" height="64" data-path="images/logo-jupyterlab.png" />

<Warning>
  The working directory for JupyterLab is the `/root` directory, not the `/` system root directory.
  If you need to access the root directory `/`, you can enter the terminal and use command-line operations.
</Warning>

## Basic Features of JupyterLab

### Accessing JupyterLab

Console -> Container Instances -> Jupyterlab

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/instance-jupyterlab.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=268e6454b922f224b31528637016290c" alt="" width="1478" height="440" data-path="images/instance-jupyterlab.png" />

### JupyterLab Interface

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-interface.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=d4d1c82843e1e280f8ab1aacf9cef9d4" alt="" width="1920" height="912" data-path="images/jupyterlab-interface.png" />

### Upload Data

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-upload-data.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=5b0804f1725ae25b8d73068d5f8dd7ce" alt="" width="846" height="452" data-path="images/jupyterlab-upload-data.png" />

### Working with Notebooks

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-notebook.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=c2bc3eb5b9f60b77d4767fe4ab54ccab" alt="" width="840" height="449" data-path="images/jupyterlab-notebook.png" />

### Open a New Terminal

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-terminal.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=a0fa230ffa6bbe5bb29353da3202a1f2" alt="" width="1920" height="912" data-path="images/jupyterlab-terminal.png" />

### Accessing Open Terminals or Notebooks

<Note>
  In JupyterLab, closing a terminal or Notebook tab does not terminate the process by default; it continues to run in the background.
</Note>

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-opening.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=924d1a2e12c7a47e9bd115b71dd67e1b" alt="" width="1678" height="901" data-path="images/jupyterlab-opening.png" />

### File Management

🖰 Right-click folder/file to expand the menu.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/instance-file-management.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=ee826f202ed229a3e173097bdb09d1d2" alt="" width="1677" height="900" data-path="images/instance-file-management.png" />

## Common Issues

<Note>
  Sometimes, users running programs in a Notebook may notice that after a while, **the Notebook's logs stop updating**.
</Note>

In such cases, you can use the **"Show Log Console"** feature to view the logs. Here's a demonstration of the process:
After executing the following piece of code, if you refresh the web page, you will find that the logs no longer update.

Open the Log Console.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/instance-log-console.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=858f766531855caaedaa28fffd605e3b" alt="" width="1011" height="618" data-path="images/instance-log-console.png" />

Check the logs and use Debug Mode as necessary.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/jupyterlab-issues.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=369fd7ae27ec5eec6f2d2d5c5af2817e" alt="" width="1680" height="901" data-path="images/jupyterlab-issues.png" />
