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 %
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to macOS,
- How to list all users in Mac Terminal
- Docker Desktop needs privileged access macOS
- Mac: How to show count of files and folders in Finder
- How to Change Background Color TextEdit on Mac
- How to adjust MacBook Desktop icons size
- Test internet speed using macOS Terminal command
- How to change the default font and text size in Microsoft Excel for Mac
- How to install Java on macOS [Big Sur]
- How to come out of dquote prompt in Terminal - macOS/Linux
- How to Increase MacBook Trackpad Cursor Speed on macOS Ventura/Sonoma
- Fix: Microsoft Excel Quit Unexpectedly on Mac
- How to Adjust macOS System Font Size
- How to Quit Applications on Mac Using Terminal
- How to check zsh installed version using terminal
- Two Ways to Extract rar (*.rar) files on Mac
- How to Right Click on Mac Desktop?
- How to Add Brew to PATH M1/M2 Mac
- How to search (find) in macOS Terminal Console Text
- macOS 13 Ventura - The New About this Mac Window
- TextEdit Get the count of lines in a file
- How to run .sh file in Mac Terminal
- Google Search Hot Trends Screensaver for Mac OS X
- Check Reboot History Mac
- [Solution] Mac Update Stuck Preparing macOS Ventura 13.0 About 30 minutes remaining
- Display Safari URL address link on hover
More Posts:
- Fix Microsoft Teams error We're sorryβwe have run into an issue Try again - Teams
- Android : Unable to load VM from snapshot : Mac OS X Error - Android
- [JavaScript] Remove all Newlines From String - JavaScript
- [Gmail] Calling in Hangouts will be turned off soon. - News
- AutoSave button not working on Office on Mac (Word, Excel or Powerpoint) - MacOS
- How to serialize-deserialize an object in java - Java
- [Solution] Spring Tool Suite (STS) support for JSP (JAVA EE) - Eclipse
- How to Position a Button at the Right using CSS - CSS