Archive for May 21st, 2019

What is screen? Screen is a screen manager with terminal emulation in Linux. With Screen, you can create, rename, detach new full windows in it. Then you can run different commands or applications in each window terminal. Each virtual terminal provides the function of DEC VT100 terminal and few functions of ANSI X3.64.

When you run a program in a window terminal and run again in other window terminal, each program will run completely independent. Mean if you move between windows, the program are still running.

There are few similar applications that you can use, ‘terminator, guake, yakuake, tilda, etc’ but screen is very light and easy to use once you get used to with it.

How to install?
Make you are connected to Internet, open your Linux terminal, and type: apt-get install screen.
I have screen installed already in my system, so the message will be different with you.

To run the screen, just type: ‘screen’ in linux terminal and press Enter to continue.
It will create a single window with a shell in it.
$ screen

Welcome screen will be displayed.

You will get an empty terminal, look like normal terminal but it’s not. You are already in Screen shell.

Type any command in it.
For example, I use ‘dig’ command.

Before we start, there are few commands that you need to remember.

-rename the current screen → ctrl+a+A (ctrl+a ctrl+shift+A)
-create a new screen → ctrl+a c
-select your screen → ctrl+a '
-display screen list → ctrl+a “ (ctrl+a ctrl+') it's depend on your keyboard.
-activate screen 0 → ctrl+a 0
-activate screen 1 → ctrl+a 1
-close active screen → ctrl+a k (ctrl+a k), only active screen close.
-detach screen → ctrl+a d (ctrl+a d), will close all screen.


Read Full Post »