GNU screen
move running command to screen
First you need to suspend the task via Ctrl-Z. Afterwards you send the command to backgroud, disown it and attach the PID to you screen session.
bg
disown
screen
reptyr $PID
First you need to suspend the task via Ctrl-Z. Afterwards you send the command to backgroud, disown it and attach the PID to you screen session.
bg
disown
screen
reptyr $PID