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 the rest

How to dealing with jobs

If you have started a huge process and just remember that you've forget do it in screen session, you may try to move this process to the background. You can do this by pressing ctrl+z keys, which will temporary block this process and then run bg, here is example:

We've run maldet command

$maldet -a ./Read the rest