User Tools

Site Tools


ubuntu:screen:reattach_to_a_screen_session

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
ubuntu/screen/reattach_to_a_screen_session.txt · Last modified: 2021/06/23 17:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki