Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I like to have a screen session set up with two windows side by side (Ctrl+A | key combo). The issue is that sometimes I need to run a server that starts a screen session in the foreground of one of my screen sessions. So now I have a screen session in another screen session. When I try to detach the inner screen (Ctrl+A d), it detaches the outerscreen.

Is there any solution to detaching only the screen in the outer screen session?

Thanks, Max

share|improve this question
up vote 9 down vote accepted

The screen man page explains

   C-a a       (meta)        Send the command character (C-a)  to  window.
                             See escape command.

So you should be able to detach the inner screen by typing C-a a d (without spaces).

share|improve this answer
Works perfectly, thanks, I didn't see that – Ben Nov 5 '11 at 23:08
Its been a year, but THANKS!!! – jeremy Jan 18 '13 at 4:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.