How to Share Your Linux Terminal - CentOS

This is a really cool feature and can often come in very handy, especially when teaching a client how to work through a stubborn Linux problem

Install Screen

The screen program allows us to share our terminal. Let's install it

yum install screen -y

Create and Share a Session

Now create your new screen session for others to connect to. You can name it whatever you like

screen -dmS MySharedSession
screen -x MySharedSession

Once the session has been created, anyone currently logged into the server can connect to it

screen -x MySharedSession

When you are ready to disconnect from the screen session, just press Ctrl-D


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 2133