Tenebris Tenebris - 2 years ago 138
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 &

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download