Tenebris Tenebris - 1 year ago 123
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 Source

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