wiki:HowtoScreen

Version 2 (modified by Morris Swertz, 12 years ago) (diff)

--

Screen program

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).

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

exit

Back on your normal SSH terminal, you can run

screen -ls

to get a list of your current screen sessions.

To reconnect to one of these sessions, run

screen -r 1234.my.server

}}}