SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
I would like to redirect the output generated from a background application in Linux to /dev/null.
I am using kate text editor and it prints all the debug messages on the terminal which I would like to redirect to /dev/null.
Any idea how to do it ?
Thanks
This question is related to linux ubuntu
linux
ubuntu
These will also redirect both:
yourcommand &> /dev/null yourcommand >& /dev/null
though the bash manual says the first is preferred.
Source: Stackoverflow.com