In this article, I will introduce you with one of the handy tool for your vps servers. It is an extremely useful app for maintaining multiple terminal sessions through just one window! This Command Line Utility is called Screen.

You may think of it as a Manager who manages different terminal sessions for you using shell. You don’t even need a X Server to run it!

How to Install Screen?

You can install it by typing the following commands:

sudo apt update 
sudo apt install screen

The above command should work on distros like Ubuntu 16.04 LTS, Xubuntu or, debian etc. If you have a different distro find appropriate installation information for it.

Common Commands of Screen

Try running the following command after successful installation:


The output of the above command will be oddly surprising! You will see some texts about screen and you will be in terminal again!

Actually, the screen is running now! you can verify it by pressing `​ctrl+a ?` the output will be:

                       Screen key bindings, page 1 of 2.

                       Command key:  ^A   Literal ^A:  a

  break       ^B b         license     ,            removebuf   =         
  clear       C            lockscreen  ^X x         reset       Z         
  colon       :            log         H            screen      ^C c      
  copy        ^[ [         login       L            select      '         
  detach      ^D d         meta        a            silence     _         
  digraph     ^V           monitor     M            split       S         
  displays    *            next        ^@ ^N sp n   suspend     ^Z z      
  dumptermcap .            number      N            time        ^T t      
  fit         F            only        Q            title       A         
  flow        ^F f         other       ^A           vbell       ^G        
  focus       ^I           pow_break   B            version     v         
  hardcopy    h            pow_detach  D            width       W         
  help        ?            prev        ^H ^P p ^?   windows     ^W w      
  history     { }          quit        \            wrap        ^R r      
  info        i            readbuf     <            writebuf    >         
  kill        K k          redisplay   ^L l         xoff        ^S s      
  lastmsg     ^M m         remove      X            xon         ^Q q      

                  [Press Space for next page; Return to end.]

well, ctrl+a is a shortcut for different screen commands and the above output lists all of them! Feel free to explore all of them, as they will be quite handy!

I really liked this digital ocean’s tutorial of Screen commands. Read it if you want to learn the basics of screen

Helpful Resources:


Wasi Mohammed Abdullah

Thinker, Day Dreamer, Python Enthusiast, Javascript Admirer,
An Introvert with Exception!

CEO, Founder 
Dreamcatcher IT

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: