Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Re: Use 'screen'... - now how can I kill it?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: Use 'screen'... - now how can I kill it?
Authored by: LABear on Jul 26, '09 11:38:12AM

You wrote: "type Control-A followed by Control-\ to exit your screen session. If you fail to do this and exit a Terminal session, you'll leave the screen session alive and the serial resource unavailable until you kill the screen session manually."

OK, I boo-booed. Now how can I kill the screen session manually?

(I wish I knew Unix better.)


[ Reply to This | # ]
Re: Use 'screen'... - now how can I kill it?
Authored by: KYPackrat on Feb 11, '10 12:27:55PM
Look for a process called "SCREEN" using ps. Here's the output of my Terminal:

packrat@laptop% ps auxww | grep -i screen
packrat    327   0.0  0.0  2435108    548   ??  Ss    3:22PM   0:00.01 SCREEN
packrat    326   0.0  0.0  2435108    560 s000  S+    3:22PM   0:00.01 screen
packrat    343   0.0  0.0  2435032    528 s002  S+    3:22PM   0:00.00 grep -i screen

Kill the process associated with SCREEN (i.e. "kill -TERM 327"), and the SCREEN will go away.

You can also reattach to a detached screen by running "screen -rD".

[ Reply to This | # ]