Advertisement
tamouse

instructions for getting rid of multiple screen sessions

May 23rd, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. ctrl-a crtl-d will detach the session you are currently attached to
  2. do it twice to make sure you aren't inside screen twice
  3. then do a screen -ls
  4. this will list the current screen sessions
  5. then enter screen -R
  6. this will attach to the first screen session it can find
  7. once there, exit all programs until there are no more screen windows left; this will end the first screen session
  8. repeat once more from screen -R for the second session
  9. at that point, you should have no more screen sessions running. do screen -ls again to make sure
  10. as an alternative to stepping through each program and window, if you feel confident you won't lose any data, you can type ctrl-A ctrl-\ to terminate the programs and screen immediately
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement