Attach a GNU screen session from another terminal
You have a screen session running in one terminal and want to interact with it from a second terminal on the same host. Two modes:
Share it — both terminals see and type in the same session:
screen -x <session>
Great for pair debugging. Both clients are attached simultaneously.
Take it over — detach the other client and bring the session here:
screen -d -r <session>
Use this when you're switching from SSH to local, or reclaiming a session you accidentally left open elsewhere.
Find your session name first:
screen -ls
If the session belongs to a different user, you'll need that user's permissions (or sudo).