If I run a application using the bash and I put it into the background via
STRG+z
bg
command
If now the process is printing to stdout
the shell prints this output. This output is not interesting for me and I do not like my shell to be polluted with it.
Is there a way to redirect the output form this process to /dev/null
I could have achieved the very same by directly starting the application in background with (./application &> /dev/null)&
, but my application is already running and I would not like to quit it and restart it.