When you start Jupyter Notebook from the Mac Terminal, it opens up the notebook on your default web browser.
If you are wondering how to quit Jupyter Notebook gracefully and properly, follow the below steps,
- Close or Logout the Jupyter Notebook webpage that's running on the localhost:8888 URL.
- Now go to the Terminal Window where you ran the command to run the notebook.
- Press the keys Control + C, you will be asked "Shutdown this notebook server (y/[n])?", type y and enter.
- You would see some console logs like below and should return back to your zsh prompt.
^C [I 00:52:00.605 NotebookApp] interrupted Serving notebooks from local directory: /Users/c2ctech 0 active kernels Jupyter Notebook 6.5.4 is running at: http://localhost:8888/?token=83c11e00ff3bd1fe7a97e977b25b4aa53f75718cdad205d7 or http://127.0.0.1:8888/?token=83c11e00ff3bd1fe7a97e977b25b4aa53f75718cdad205d7 Shutdown this notebook server (y/[n])? y [C 00:52:02.668 NotebookApp] Shutdown confirmed [I 00:52:02.670 NotebookApp] Shutting down 0 kernels [I 00:52:02.671 NotebookApp] Shutting down 0 terminals Code2care@Mac %

Have Questions? Post them here!
- How to find path of file on Mac Terminal
- How to disable Siri on Mac Monterey
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- Select Line Number TextEdit on Mac
- Go to Specific file path using Mac Finder
- How to find Java HOME in Mac Terminal
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- Must Know Homebrew Commands for Mac/Linux Users
- How to Insert an Inverted Question Mark on Mac ¿
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- How to make macOS Terminal window Transparent (or Opaque)
- How to check of Updates on Microsoft Edge Browser on Mac (macOS)
- Limit scrollback rows in macOS Terminal
- How to identify installed Java (JDK) Version on macOS
- Keyboard Shortcut to delete a file on a Mac [Macbook]
- Open Docker from Terminal Command on Mac
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to take a screenshot on a Mac - updated for Ventura 13 [updated 2023]
- ls: .: Operation not permitted - Mac Terminal ZSH Error
- How to remove username from Mac Menu Bar?
- macOS Ventura XCode Command Line Tools Installation
- Where is .zshrc file located in macOS
- How to Show Path of Files or App in Mac Spotlight Search
- How to enable root user on Mac Terminal
- Install Java 17 (LTS) JDK on ARM based M1/M2 Mac Natively
- [Microsoft Teams] You're not on Teams yet, but you can set it up for your organization. - Teams
- [Fix] Instant java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Years - Java
- How to mute or disable Twitter Fleet in feeds - Twitter
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page - SharePoint
- SharePoint Server 2016 IT Preview Deprecated Removed features - SharePoint
- What is BTS? What is BTS A.R.M.Y? What is its meaning? - BTS
- Eclipse: Updating Maven Project. Unsupported IClasspathEntry kind=4 - Eclipse
- Install the minimal Linux on Docker (only 5 mb Alpine Linux) - Docker