I am very new to screen and I have hit C-Something instead of C-a. Now I cannot detach or do any other commands. What can I do to detatch my screen session?
screen -d detaches the already-running screen session, and screen -r reattaches the existing session. By running screen -d -r , you force screen to detach it and then resume the session.
Use ctrl + a , a to send ctrl + a to the inner screen. That is, to detach the inner screen press ctrl + a , a , d .
1 Answer. Show activity on this post. You're missing a screen command at the beginning of your session. Run screen and it'll give you a new session from which you can detach with Ctrl A D .
If all else fails, login from another terminal and type: screen -raAdx
. This will reattach your screen as shared and allow you to detach it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With