I run a jupyter notebook in the background on a Mac using
>jupyter notebook &
Because it is running in the background I can't use use ctrl-c to kill it. Furthermore no processes seem to have the name jupyter in the activity monitor.
This github issue suggests that this no way to do it from the browser: https://github.com/jupyter/notebook/issues/1530
however it says it should be possible to do from the command line using jupyter notebook stop <portno> but that does not seem to work for me.
How do I shutdown the jupyter server (ideally without having to search for the pid and then invoking kill)?