wiki:HowtoScreen

Screen program

Create

With screen you can create one or more sessions in your current SSH terminal. Just run

screen

Ctrl a c - Creates a new screen session so that you can use more than one screen session at once.

Ctrl a n - Switches to the next screen session (if you use more than one).

Ctrl a p - Switches to the previous screen session (if you use more than one).

Ctrl a d - Detaches a screen session (without killing the processes in it - they continue).

Closing

To close a screen session where all tasks are finished you can type

exit

Re-attach a screen

Get a list of your current screen sessions:

screen -ls

To reconnect to one of these sessions, run

screen -r 1234.my.server

}}}

Last modified 12 years ago Last modified on 2012-04-18T18:26:33+02:00