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!