0
1
I'm running this command:
$ nohup command > foo.out 2> foo.err < /dev/null &
My problem is that even though nohup
makes my command run in the background, it prints out something like this to my terminal:
[1] 27918
How do I make it not output the job number? I just want it to do it in the background without telling me anything. On Mac OS X, that's exactly what happens, so I'm a little annoyed that it works differently on Ubuntu...
Thanks for the help!
2The [1] 27918 is coming from the & not the nohup – Majenko – 2011-03-01T08:50:53.760
Thanks Matt, that did it. Now how do I close this question... – hora – 2011-03-01T08:53:52.803
The way to do that is mark an answer as accepted using the checkmark next to it. – Paused until further notice. – 2011-03-01T10:06:09.177
See http://superuser.com/faq section "How do I ask questions"
– user1686 – 2011-03-01T10:10:12.863