Tenebris
Tenebris

Reputation: 83

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?

Upvotes: 3

Views: 1035

Answers (1)

0x5453
0x5453

Reputation: 13599

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

Upvotes: 7

Related Questions