byobu: screen sessions in Linux

13 / Apr / 2011 by Salil 0 comments

This post is just to talk about Screen Sessions in Linux (esp. ubuntu) using command “byobu”.


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.


Where can it be used?
You 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.


How to use it?
It’s as simple as 2 steps process.
Step 1: Enter command "byobu"
Step 2: Press F2 (to create a new screen)
here you go!


Now you are in a detachable screen session. Enter your commands. And once you done —
Press F6 (to detach the screen)
If you are already logged-into some remote machine (using ssh), now you can logout. And your screen will remain there.
Then, when you come back — you can resume your screen back by following commmand
$ screen -r
It’s good to read about other options (like, screen -x)


Your comments are always Welcome. Please post if you have any!


Salil Kalia
Salil [at] IntelliGrape [dot] com
Twitter LinkedIn


Leave a Reply

Your email address will not be published. Required fields are marked *