Okay for me to load a screen I have to do screen -r server

Is there a way I can set it up so that can just be shown by the command: screen -x name

  • Do you have more than 2 detached screen sessions? If you have 1 and use screen -x it reconnects to it for me. – slm Mar 29 '14 at 16:24
  • I do, but I know what server it is when I do server -ls – user63894 Mar 29 '14 at 16:44
  • Perhaps you can expand on what it is you're actually trying to accomplish? Your question is very vague at this point. – slm Mar 29 '14 at 17:01
  • Okay when I do screen -r it says something like this: server (detached) <-- this one I want to have do screen -x name server2 (attached) Right now the only way for me to vie the screen is to do screen -r server. I want to do screen -x name – user63894 Mar 29 '14 at 17:13
  • Please update the Q, I do not understand what you're saying in the comments either. – slm Mar 29 '14 at 17:52

Have you tried screen -S name?

  • Then will it allow me to do screen -x name to connect to the screen? – user63894 Mar 29 '14 at 17:18
  • Yes it will allow you to connect to the screen. – vaclavs Mar 29 '14 at 17:28
  • I have 2 servers on the -ls, how do I connect one to the screen -S name – user63894 Mar 29 '14 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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