First create a script using the command (if you don't have nano, substitute the name of the text editor you have eg: featherpad)
cd ~ && nano jupyter_notebook_script_unofficial && chmod +x jupyter_notebook_script_unofficial
Then copy and paste this into the script and save it and exit it (Ctrl + O + Enter
to save Ctrl + X
)
#!/bin/bash
jupyter notebook
firefox http://localhost:8888/tree/Documents/Programs
If you just want jupyter notebook to open, you can just give jupyter notebook
in place of the command, if you however have firefox and want to open a certain directory, try the firefox http://localhost:8888/tree/Documents/Programs
command
Open jupyter notepad in your default browser and then navigate to your programs folder, then copy the content in the address bar and put in your last script line like
[BROWSER NAME] [THE ADDRESS YOU COPIED]