Getting started with Screen in Linux

3 min readUpdated December 4, 2025

Screen is software that allows you to create multiple windows to run several tasks simultaneously while keeping processes active even after you disconnect.

#Installation process

bash
apt-get install -y screen

#Starting Screen and basic usage

In all cases, correct letter case is required for proper operation.

To create a new screen session, use the following command:

bash
screen -S <NAME>

To attach to an existing session, use:

bash
screen -x <NAME>

To view the list of all existing screen sessions, use the command:

bash
screen -ls

To detach from or reattach to a screen session, use the following key combination:

bash
CTRL + A + D

Did not find the answer? We are online 24/7.Contact support