For that you need to install ìscreenî by issuing following command:
[[email protected] ~]# yum install screen* -y
OR
Install ìscreenî via rpm package according to your linux version.
Create new screen by issuing following command:
[[email protected] ~]# screen -S Terminal_Share_demo
Open duplicate session of same linux server and issue following command for terminal sharing:
[[email protected] ~]# screen -x Terminal_Share_demo
This is two-way sharing.
Type Ctrl + a + d to get out of the screen.