{"id":733,"date":"2014-01-29T16:52:39","date_gmt":"2014-01-29T23:52:39","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=733"},"modified":"2014-01-29T16:56:48","modified_gmt":"2014-01-29T23:56:48","slug":"screen","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/screen\/","title":{"rendered":"Screen"},"content":{"rendered":"<p>I love using screen at work, especially while I&#8217;m in a <a title=\"Download PuTTY\" href=\"http:\/\/www.putty.org\" target=\"_blank\">PuTTy<\/a> session. Basically, screen lets you open up another bash session without disrupting a current bash session in the same window. So I can open one PuTTy session and with screen emulate multiple. This is nice because I can do something different in each screen session without loosing my place in another. Trust me, it&#8217;s awesome.<\/p>\n<p><strong>Install<\/strong><\/p>\n<p>To download:<\/p>\n<pre>apt-get install screen<\/pre>\n<p>or (depends on your distribution and packet manager)<\/p>\n<pre>yum install screen<\/pre>\n<p><strong>Use<\/strong><\/p>\n<p>Create a screen by typing the command:<\/p>\n<pre>screen<\/pre>\n<p>Super easy, to detach from a screen:<\/p>\n<p>press CTRL+&#8221;a&#8221;+&#8221;d&#8221;<\/p>\n<p>Now what? There is now a floating screen session someone. How do you reconnect to it? First you can list all screen session with:<\/p>\n<pre>screen -ls<\/pre>\n<p>With knowledge of what screens exist, you can reconnect to one with the command:<\/p>\n<pre>screen -r &lt;SCREEN REFERENCE&gt;\r\n\r\n<a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.46.30-PM.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium wp-image-738\" alt=\"Screen Shot 2014-01-29 at 6.46.30 PM\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.46.30-PM-300x179.png\" width=\"300\" height=\"179\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.46.30-PM-300x179.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.46.30-PM.png 564w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/pre>\n<p>To kill the current screen, use:<\/p>\n<p>press CTRL+&#8221;a&#8221;+&#8221;\\&#8221;<\/p>\n<p>Other helpful shortcuts can be found by pressing:<\/p>\n<p>CTRL+&#8221;a&#8221; release &#8220;?&#8221;<\/p>\n<p><a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.48.08-PM.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-739\" alt=\"Screen Shot 2014-01-29 at 6.48.08 PM\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.48.08-PM-300x50.png\" width=\"300\" height=\"50\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.48.08-PM-300x50.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-29-at-6.48.08-PM.png 516w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>There you have it! Manage your screens wisely.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I love using screen at work, especially while I&#8217;m in a PuTTy session. Basically, screen lets you open up another bash session without disrupting a current bash session in the same window. So I can open one PuTTy session and with screen emulate multiple. This is nice because I can do something different in each screen session without loosing my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[160,193,194,192,167,195,5],"class_list":["post-733","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-detach","tag-list","tag-putty","tag-screen","tag-session","tag-terminal"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":5,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"predecessor-version":[{"id":740,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/733\/revisions\/740"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}