install: apt-get install screen

type screen to get started

You are now in a shell inside the terminal

Ctrl-A – sends keys to the terminal

Ctrl-A then ? – shows help

Ctrl-A K or “exit” – Close screen session (kills windows)

Ctrl-A D – detaches from screen (leaves processes running)

screen -ls  – shows available screens

screen -r xxxx – xxxxx = session from screen -ls command  – reattaches to screen

 

To attach to a disconnected screen:

 

You must be logged in to leave a reply.