Cognitionis
The little I know

Screen


SCREEN LINUX COMMAND

Solution for mantain console sessions after closing ssh conections

1. Enter via ssh to a remote computer open a console and write “screen”
2. Execute whatever
3. Ctrl+a (command mode) “d” (detach)
4. Close connection/Exit console
5. Open a new session via shh into the remote computer and type “screen -R” (Recovery last screen)
6. And enjoy your last session as if you wouldn’t close it.

To list screens and see id numbers: “screen -list”
To retach a detached screen to be able to close it with exit: “screen -r idnum”

For more options “man screen”