Skip to content

Commit 78754d7

Browse files
committed
added scripts to run and kill jupyter notebook within a screen
so i dont have to keep a terminal open
1 parent a0bf888 commit 78754d7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

jnb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
if [ -z "$STY" ]; then exec screen -dm -S jupyter /bin/bash "$0"; fi
3+
jupyter notebook

jnb-kill

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
pkill screen

0 commit comments

Comments
 (0)