I was trying to use nohup like that:
nohup python fibo.py & > a.out When I do so and try to exit from the shell it prompts that "you have running jobs". But that should not be the case.
$ nohup python test.py & > a.txt [1] 21608 $ nohup: ignoring input and appending output to ‘nohup.out’ $ jobs -l [1] + 21608 Running nohup python test.py & > a.txt $ exit You have running jobs
nohupexactly? What was the invocation? What is the output of thejobscommand?nohup your_commandand than use ctrl+z to send it to background it may say that it is already running. You can usebgafter that to properly send it to background or better use correct nohup syntax in the first place:nohup your_command &