Topic: screen: Keep Your Processes Running Despite A Dropped Connection
I guess you all know this: you are connected to your server with SSH and in the middle of compiling some software or doing some other task which takes lots of time, and suddenly your connection drops for some reason, and you lose your labour. This can be very annoying, but fortunately there is a small utility called screen which lets you reattach to a previous session so that you can finish your task. This short tutorial shows how to use screen for just this purpose.
With screen you can create one or more sessions in your current SSH terminal. Just run screen
to start it. This creates a screen session or window (although you don't see it as such) in your current SSH terminal:
Press Space or Return to get to the command prompt:
Looks like your normal SSH terminal, doesn't it?
Now I'm going to describe the most important screen commands that you need to control screen. These commands begin with CTRL a to distinguish them from normal shell commands.
Last edited by _beastie_ (2009-04-02 18:40:42)