How can I disown a running process and associate it to a new screen shell?
I launched a command that lasts a long time.
I had to disconnect so I moved it in the background (with CTRL+Z and
bg) before exiting.
Something like this:
$ my_command ***command is beeing executed and is taking a long time*** ^Z + Stopped my_command $ bg + my_command & $ exit
I reconnected and can see the command in the process list but cannot recover with
$ fg -bash: fg: current: no such job
How do I recover my job in the foreground?