{"id":623,"date":"2012-05-01T03:32:55","date_gmt":"2012-05-01T03:32:55","guid":{"rendered":"http:\/\/kraftek.com\/blog\/?p=623"},"modified":"2012-05-01T03:32:55","modified_gmt":"2012-05-01T03:32:55","slug":"using-screen","status":"publish","type":"post","link":"\/blog\/index.php\/using-screen\/","title":{"rendered":"Using \u201cscreen\u201d"},"content":{"rendered":"<p>Screen is a utility to keep command line sessions in your unix<br \/>\nenvironment alive regardless of disconnects, and it can hold several<br \/>\nsessions inside it.<br \/>\nTo start it run:<br \/>\n# screen<br \/>\nOnce inside, you can use<br \/>\nCtrl a c \u2013 Creates a new screen session so that you can use more than one screen session at once. Ctrl a n<br \/>\n&#8211; Switches to the<br \/>\nn<br \/>\next screen session (if you use more than one). Ctrl a p \u2013 Switches to the<br \/>\np<br \/>\nrevious screen<br \/>\nsession (if you use more than one). Ctrl a d \u2013 Detaches a screen session (without killing the processes in it &#8211;<br \/>\nthey continue).<br \/>\nOnce you issue \u201cctrl a d\u201d you are outside of screen.<br \/>\nTo get a list of the screen sessions you have do a:<br \/>\n# screen -ls<br \/>\nThere is a screen on:<br \/>\n9998.pts-5.myserver (Detached)<br \/>\n1 Socket in \/tmp\/uscreens\/S-rdircio.<br \/>\nso to reconnect to it you need to do:<br \/>\n# screen -r 9998.pts-5.myserver<br \/>\nThan you use the \u201cctrl a \u201d commands listed above to use the subsessions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Screen is a utility to keep command line sessions in your unix environment alive regardless of disconnects, and it can hold several sessions inside it. To start it run: # screen Once inside, you can use Ctrl a c \u2013 Creates a new screen session so that you can use more than one screen session [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-623","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=623"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/623\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}