How to resume screen? How to resume screen? shell shell

How to resume screen?


The wording is a little unlucky - this happens because there still is a screen session attached to 14313.pts-18.b-dev03 and you cannot simply "resume" a non-detached session. You need to use the -x option in addition to attaching to this session with a second screen instance (or, alternatively, detach the existing session first):

-x

  Attach to a not detached screen session. (Multi display mode).
$ screen -xr 14313

If you wish to detach the first session instead:

-d -r

  Reattach a session and if necessary detach it first.
$ screen -dr 14313