1

I run jupyter notebook (Python editor) on background in order to keep one terminal for keep working without needs to run a second terminal. so I have done this:

#jupyter notebook &

but the problem is when jupyter notebook is running it keeps send me logs, and this is typically painful and bother me when I'm typing command.

I wanted to stop jupyter notebook to send me these logs???

HISI
  • 231

1 Answers1

5

Add &>/dev/null to the command to send stdout and stderr to /dev/null, the nirvana of Linux systems:

jupyter notebook &>/dev/null &

By the way it doesn't matter where you put the redirection, that's also fine:

&>/dev/null jupyter notebook &
dessert
  • 40,956