I know that in order to suppress the output of a program I can redirect it to /dev/null
, for example to hide all error and warning messages from chromium I can start the program like this
chromium-browser 2> /dev/null &
However, if I happen to forget about the error messages and type
chromium-browser &
(which is quite annoying when they appear in the middle of a command) I don't know what to do except for stopping the application and starting it again properly.
Can I somehow redirect error output without restarting the application?
nohup
:) – phunehehe Sep 04 '10 at 10:23/dev/null
, but in practice that does not significantly affect anything. – Kevin Aug 20 '15 at 17:40