{"id":6142,"date":"2022-05-11T16:44:48","date_gmt":"2022-05-11T20:44:48","guid":{"rendered":"http:\/\/www.linux-databook.info\/?page_id=6142"},"modified":"2022-05-11T16:44:48","modified_gmt":"2022-05-11T20:44:48","slug":"how-to-use-gnu-screen-as-a-teaching-tool","status":"publish","type":"page","link":"http:\/\/www.linux-databook.info\/?page_id=6142","title":{"rendered":"How to use GNU screen as a teaching tool"},"content":{"rendered":"\n<p>If you have two people logged into the same account from remote locations, they can easily share a screen session (so what one types the other sees and vice versa). To do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Create a named screen session:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">[devel@rice ~]$ screen -d -m -S dbgwindow\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Attach to the screen session in your terminal window<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">[devel@rice ~]$ screen -x dbgwindow\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Have the other person (logged into the same account) also attach to the screen session<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">[devel@rice ~]$ screen -x dbgwindow\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>At this point both terminal windows should see the same thing.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have two people logged into the same account from remote locations, they can easily share a screen session (so what one types the other sees and vice versa). To do this: Create a named screen session: [devel@rice ~]$&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.linux-databook.info\/?page_id=6142\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":2159,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6142","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/6142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6142"}],"version-history":[{"count":1,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/6142\/revisions"}],"predecessor-version":[{"id":6143,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/6142\/revisions\/6143"}],"up":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/2159"}],"wp:attachment":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}