If I:
Then of course "myjob" will be started and I can freely exit, perform other tasks, etc, with it still running. However, what happens when I want to bring it back to the foreground? Using "jobs" produces nothing on it, thanks to nohup, running myjobs with the intent to disown it only starts another instance of the program, no affecting the original, and fg doesn't help, because it can't recognize the process, apparently.
That returns the PID of the job, but trying to bring that job to the foreground gives an error "no such job" I can kill the job using the output PID, but I want a way to bring the job back to the foreground.
How can I do this?