Screen is a terminal management tool for Linux and widely used in system administrators. If you have only terminal in your hand, connected to your server with SSH and don't know how to split , it is the best tool ever.
The main pros are you can not only leave the session open if you are dropped out or kicked out by the remote server. You can continue your remote session by typing a simple command and continue your work.
You can split it to sections and you can read the disk I/O operations, CPU speeds and even Network traffic in the same monitor with one terminal. It will also let you see live data and prevent you from kicked out when your internet connectivity is laggy.
You can install with the following commands:
apt install screen
yum install screen
emerge --ask app-misc/screen
At first, you must enter yours in the terminal with the command. You will see the welcome text. Then, here you go.
You can easily create a new working area by using Ctrl+A, then C.
Pause current section with Ctrl+A, then D.
You can resume with screen -d -r.
You can resume selectively by typing with section ID.
For example, screen -r 123.pts1.localhost.
Split horizontally with Ctrl+A, then Shift+S.
Split vertically with Ctrl+A, then Shift+| or |.
Switch to the next sections with Ctrl+A, Tab, and to previous Sections with Ctrl+A, Shift + Tab.
Switch to the next screens with Ctrl+A, N and to the previous screens with Ctrl+A, P within the same area. You should create a new section before switching to and fro.
In other os, you can easily find them in system repos, in Centos 6, you can only split your terminal in Horizontally, you cannot do it vertically.
Interesting more .. Visit our blog for daily updates