{"id":3550,"date":"2011-04-13T16:36:02","date_gmt":"2011-04-13T11:06:02","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=3550"},"modified":"2016-12-19T15:30:07","modified_gmt":"2016-12-19T10:00:07","slug":"byobu-screen-sessions-in-linux","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/byobu-screen-sessions-in-linux\/","title":{"rendered":"byobu: screen sessions in Linux"},"content":{"rendered":"<p>This post is just to talk about Screen Sessions in Linux (esp. ubuntu) using command &#8220;byobu&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>What is Byobu?<\/strong><br \/>\nByobu is a Japanese term for decorative, multi-panel screens. As an open source project, Byobu is an elegant enhancement of plain GNU Screen.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Where can it be used?<\/strong><br \/>\nYou SSH to some remote machine and Run some commands (application, service, etc). Now you want to logout of ssh session. But want your screen turned-on, so that you just resume it, the next time you access the machine.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>How to use it?<\/strong><br \/>\nIt&#8217;s as simple as 2 steps process.<br \/>\n[groovy]<br \/>\nStep 1: Enter command &quot;byobu&quot;<br \/>\nStep 2: Press F2 (to create a new screen)<br \/>\n[\/groovy]<br \/>\nhere you go!<\/p>\n<p>&nbsp;<\/p>\n<p>Now you are in a detachable screen session. Enter your commands. And once you done &#8212;<br \/>\n[groovy]<br \/>\nPress F6 (to detach the screen)<br \/>\n[\/groovy]<br \/>\nIf you are already logged-into some remote machine (using ssh), now you can logout. And your screen will remain there.<br \/>\nThen, when you come back &#8212; you can resume your screen back by following commmand<br \/>\n[groovy]<br \/>\n$ screen -r<br \/>\n[\/groovy]<br \/>\nIt&#8217;s good to read about other options (like, screen -x)<\/p>\n<p>&nbsp;<\/p>\n<p>Your comments are always Welcome. Please post if you have any!<\/p>\n<p>&nbsp;<\/p>\n<p>Cheers!<br \/>\nSalil Kalia<br \/>\nSalil [at] IntelliGrape [dot] com<br \/>\nTwitter LinkedIn<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is just to talk about Screen Sessions in Linux (esp. ubuntu) using command &#8220;byobu&#8221;. &nbsp; What is Byobu? Byobu is a Japanese term for decorative, multi-panel screens. As an open source project, Byobu is an elegant enhancement of plain GNU Screen. &nbsp; Where can it be used? You SSH to some remote machine [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2},"categories":[1],"tags":[552,260,553,8],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3550"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=3550"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3550\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=3550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=3550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=3550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}