How to move a running process to a screen

We need additional software to do this

We have to choose between reptyr and retty. As retty works for x86 linux system only, so we are going to use reptyr

Go ahead and install it:

$sudo apt-get install reptyr -y

For Centos you can get it here:

wget https://github.com/nelhage/reptyrRead the rest