How to Collaborate with the screen command in Linux

This is a great hint by Mr. Wallen. “Let’s say you and your co-worker are both working on debugging an application and your partner has run into a snag. Instead of having to march back and forth between offices, or leaving the comfort of your own chair (you lazy thing), you can log onto your co-workers machine and collaborate! Here’s how it works. Both machines will be Linux machines and both will have ssh accessibility. If you need to help your co-worker out follow these steps:

  1. Secure shell into your friends machine…the only catch is, you have to log on with his username/password.
  2. Issue the command screen -s NAME Where NAME is any name you want.

Now your co-worker has to open up a terminal window and issue the command screen -x NAME Where NAME is the same name you used in your command. Now whenever either of you type in your screen both of you will see what is going on at the same time.

To detach yourself from this session you have to hit <Ctrl>a and then d. That means hold down <Ctrl>, hit a, and then hit d. You will be released from the session.”

Share

One comment

  1. Pingback: Tweets that mention How to Collaborate with the screen command in Linux « Chicago Mac/PC Support -- Topsy.com

Post a comment