Tuesday, 5 July 2016

how to detach a screen session

If a terminal of a 'screen' session is dead for some reason, the session is not detached. In order to resume the session, have to use the following trick:

screen -d -r

The trick is from:
http://stackoverflow.com/questions/20807696/how-do-i-force-detach-screen-from-another-ssh-session