Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 838.7k
  • 198
  • 1.8k
  • 2.2k
Post Migrated Here from stackoverflow.com (revisions)
Source Link

How do you detach the 2nd screen from within another screen?

I've accidentally attached to a 2nd GNU screen session from within an existing screen session and cannot detach or issue commands to the inner screen. I remember figuring out how to do that before but completely forgot and would like to keep it as reference.

One way is to detach the inner screen by doing screen -dr from shell, but what is the key combination to do that from within screen itself?