Just entered the IT industry to do Linux operations, small white one. When the company found that colleagues use the Mac to operate the Linux system interface, you can use the shortcut key split screen, so you find a Linux-related sub-screen tool on the Internet.
The Tmux is a keyboard-driven, terminal split-screen tool that can be used to replace screens under Linux. Of course, if it is used under the MAC, its core functions (such as window, split screen, etc.) can also be replaced by ITerm2, but fortunately Tmux in the UNIX operating system is enough generic, with package management tools (Apt-get, brew, etc.) can be installed, so understand and skillfully use it , it can save a lot of time for the work under the normal terminal.
There is a book about Tmux: tmux:productive mouse-free Development
The installation of the CENTOS7 system is simple to use a bit
installation Tmux
#yum Install Tmux-y
Some management Session the command
Tmux list-session Lists the created Session
Tmux New-session < Session Name > Create a new Session
Tmux Attach-session-t < Session Name > into a Session
Tmux Rename-session-t < Session Name > < New Session Name > Rename a Session
Tmux Choose-session-t < Session Name >
Tmux kill-session-t< Session Name > Delete a Session
Create a new Session
#tmux new-s new_session
Create a new window
Press the ctrl+b and then press C
View the Created window
Press the ctrl+b then W Enter, you can see the created window, you can select the window press ENTER enter, F key effect is similar, F key to enter the window number directly into the
Switch another window directly in one window
Press the ctrl+b and then by the window number 0 , 1 , 2 window number default from 0 Start
Switch to a different window in order
Press the ctrl+b and then press N reach the next window, press P get to the previous window
Divide the window into many panels
Press the ctrl+b and then press "' split the current window horizontally
Press the % will split vertically
Press the cursor key (up or down) to toggle between panels
Disconnected from the session, the session does not kill
Press the ctrl+b and then press D
Leave a window
input Exit or press the ctrl+b and then press &
Tmux Linux split Screen tool