Screen

I am using Linux for several years, but just started with Screen. From my personal view, this is a magical tool to:

use your Linux from remote shell and like using more than one shell;

using unstable network connection and ssh link randomly closes;

leave running processes after your connection is closed;

It is a good chance to have Screen in your Linux distribution’s package library so installation is quite simple like:

# apt-get install screen (On Debian based Systems)

# yum install screen (On RedHat based Systems)

To start it just type:

screen

Or if you want multiple session you can name your current one:

screen -S sessionname

When screen started, you can do all your work as you are in the normal shell environment. But since the screen is an application, so it have command or parameters. With Control-a ? key combination the help screen is appeared.

If your connection had broken, but you can reconnect to get your previous session type:

screen -rd

Here is the list of the most commonly used commands and a simple startup file: