# Change default working directory in JupyterLab on Linux

**URL:** <https://discourse.jupyter.org/t/change-default-working-directory-in-jupyterlab-on-linux/11066>\
**Category:** JupyterLab\
**Tags:** how-to\
**Created:** [October 2, 2021, 9:17pm UTC](https://discourse.jupyter.org/t/change-default-working-directory-in-jupyterlab-on-linux/11066 "2021-10-02T21:17:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jim761](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jim761](https://discourse.jupyter.org/u/jim761)\
**Post date:** [October 3, 2021, 12:38am UTC](https://discourse.jupyter.org/t/change-default-working-directory-in-jupyterlab-on-linux/11066/3 "2021-10-03T00:38:32Z")

</div>

Thank you for answering here. I appreciated your SO answer. However, the part missing from your SO answer (unless I overlooked it) is:

```
jupyter server --generate-config

```

That might be obvious to some people, but all I knew was that the command you list there:

```
jupyter notebook --generate-config

```

was not what I needed since I’m running JupyterLab. Without your answer here, I was not able to put together the solution.

---

_[View the full topic](https://discourse.jupyter.org/t/change-default-working-directory-in-jupyterlab-on-linux/11066)._
