Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to a specific window ie ctrl+c. I wish to do this without killing the window itself. My other options is to look up the process ID and do kill -INT

share|improve this question
up vote 0 down vote accepted

I would do it with kill -INT, but this should work as well:

screen -S sessionid -X stuff $'\cc'
share|improve this answer
This work as I had hoped. Thanks for your help. – robthewolf Dec 16 '10 at 9:05

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.