Table of Contents

Ubuntu - Screen - Reattach to a Screen session

screen -r

NOTE: This will resume the screen session.


Reattach to a Screen session, when multiple screen sessions are running

Identify the Screen IDs that are running

screen -ls

returns:

There are screens on:
        1234.tty1.Chia-CLI      (06/27/21 07:54:43)     (Attached)
        1222.tty1.Chia-CLI      (06/27/21 07:51:22)     (Attached)
        598.tty1.Chia-CLI       (06/27/21 07:36:27)     (Attached)
3 Sockets in /run/screen/S-root.

Reattach to a Screen session

screen -r 1234

NOTE: This will resume the specific screen session.

NOTE: If the Session was started with a Session Name, such as:

screen -S session_name

…this name could also be used to Reattach the session.

screen -r session_name