Linux Terminal: Reptyr attach a running process to a new terminal
Aug 08, 2014, 09:00 (0 Talkback[s])
(Other stories by Linuxaria)
If, like me, you work on terminals connected via ssh to remote computer/server you are probably used to tmux and screen and so it's not a problem if you have to close your session, as you???ll be able to easily re-connect when you need it, but sometimes you could forget about using one of these utility. Started a long-running process over ssh, but have to leave and don???t want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.