Many Linux experts like the screen command, which allows you to easily control other terminals using one terminal. Although screen itself is a very useful tool, byobu, as an enhanced version of screen, is more useful and beautiful than screen, and provides useful information and quick hotkeys. Imagine a scenario where you link to a server through SecureShell (ssh) and work in a remote shell. You need to open another shell window
Introduction
Many Linux experts like the screen command, which allows you to easily control other terminals using one terminal. Although screen itself is a very useful tool, byobu, as an enhanced version of screen, is more useful and beautiful than screen, and provides useful information and quick hotkeys.
Imagine a scenario where you link to a server through Secure Shell (ssh) and work in a remote shell. You need to open another shell window so that you can run the two shell windows at the same time. Maybe when you enter the command line in the 2nd window, you need the output of the 1st window. What will you do? Most people will choose to open another SSH link, which is actually a waste and unnecessary. The Byobu command allows you to run multiple terminals in one terminal.
Recommended reading:
Ubuntu 12.04 right-click the current location to open the terminal http://www.linuxidc.com/Linux/2012-05/59565.htm
Command http://www.linuxidc.com/Linux/2013-05/85060.htm for playing music on Linux terminal command line
Ubuntu 13.04/12.10 add Google search support http://www.linuxidc.com/Linux/2013-05/84933.htm on the terminal
Tetris http://www.linuxidc.com/Linux/2013-02/79513.htm under Linux terminal
Ubuntu 12.04 Installation Method
The best way to master byobu is to experiment on your own. The command to install byobu in Ubuntu is
Sudo apt-get install screen byobu
To install the SDK by using the source code, download the software package from https://launchpad.net/byobu/#downloadand install it manually:
Cd/usr/local/src/
Sudo wget https://launchpadlibrarian.net/130760729/byobu_5.33.orig.tar.gz
Sudo tar zxvf byobu_5.33.orig.tar.gz
Ll
Cd byobu_5.33/
./Configure
Make & make install
Usage
Byobu is actually using the powerful screen configuration function to create a lot of useful configuration items. Its biggest feature is key-binding, which binds new windows, window switching, renaming, and other operations to F2 ~ F9 and other keys. In addition, the F12 key can be used to lock the terminal and unlock the terminal only after the login password is entered. Another feature is that a series of information (status), including cpu, memory, and time are displayed at the bottom of the screen.
Open a console, Enter byobu, and then Enter. Your screen will be replaced by a new console and displayed on the bottom pane of the screen. As shown in:
OK. Let's start using this new terminal. Enter the top Command, and then Enter to start running. Press the F2 key. Then you can see a new terminal without any prompts. You can enter a new command. As shown in:
Enter the uptime command. So what will happen to the top worker? Of course it is still running. You can press the F3 key to enter the top Command running window. You can press the F4 key to return to the uptime running window. When you browse one of the terminals, other terminals are not affected but operating normally, so that you can implement multiple tasks.