This question already has an answer here:

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???

marked as duplicate by muru command-line Nov 15 '17 at 13:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


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 &
  • could you explain what the &> does in this case – HISI Nov 15 '17 at 13:23
  • 1
    @YassineSihi & takes stdout and stderr, > redirects it to somewhere, /dev/null is the null device. Also see here: askubuntu.com/a/350216/507051 – dessert Nov 15 '17 at 13:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.