Skip to content

Screen – a powerful console multiplexer for Linux systems

Screen – software that lets you create many windows for running several tasks at the same time, while the processes stay active even when you exit.

Screen – a powerful console multiplexer for Linux systems

Installation process

To install Screen on Debian/Ubuntu and derivative systems, use the command:

bash
apt-get install -y screen

Launching and basic use of Screen

WARNING

In all cases, the letter case of commands matters for correct operation.

Creating a new window

To create a new screen window with a specific name, use the command:

bash
screen -S <NAME>

Where <NAME> – an arbitrary name that will help you identify the session.

Switching to an existing window

To connect to a previously created Screen session, use:

bash
screen -x <NAME>

Viewing the list of sessions

To get a list of all active Screen sessions, use the command:

bash
screen -ls

Detaching from the current session

To detach from an active Screen session while keeping all running processes, use the key combination:

text
CTRL + A + D

First press CTRL + A, then D.


Benefits of using Screen

  • Processes stay active after disconnecting from the server
  • The ability to work on several tasks at the same time
  • Convenient switching between sessions
  • Protection against losing work on an unstable connection
  • Saving system resources

Screen is an indispensable tool for system administrators and developers, allowing you to organise your workflow efficiently in a console environment.


Our resources

Telegram channel: https://t.me/
F3 Cloud: https://f3cloud.com

F3 Cloud Knowledge Base