Tenebris Tenebris - 6 months ago 17
Linux Question

Running nohup without it sending a message

Hi i have a bash script and run a proces like this

nohup $proces &


When i do that the scipt sends a massage like

nohup: appending..


Is there a way to prevent the massage output? Or is there an alternative command that does the same and there is no massage send out?

Answer

Discard all output: nohup $process > /dev/null 2>&1 &

Comments