What is Byobu and how to use it

This story will explain:

  • What is byobu?
  • Its use cases
  • How to install it?
  • How to use it?
  • It cheats sheet

Introduction

It is a terminal multiplexer which means that you can work on multiple screens in a single screen session. It works on most Linux, BSD, and Mac distributions.

Byobu Use cases

  1. To save work state on a remote server.

If you are working on the remote server, connected via SSH and don’t want to lose your work because of the SSH session breakage or some other reasons.

How to do it: Connect to your remote machine via SSH. Start the byobu session in it. In case your SSH session breaks or you close the terminal by mistake then in that scenario when you connect again to that machine and start the byobu session in it, you will find the former state of your work.

2. For the terminal screens management.

If you are working on multiple things on the terminal and it caused a lot of opened screen in the terminal session. It becomes very difficult to navigate between those terminal screens. So in that scenario, you can use byobu to group the related task screen in a single byobu session.

Byobu Installation

Installation command is given below:

$ sudo apt install byobu

Byobu Usage

You can start byobu session using it by running this command:

$ byobu

Byobu Cheat sheet

This sums up the byobu tutorial.

DevSecOps Engineer https://irtizaali.com/

DevSecOps Engineer https://irtizaali.com/