Terminal split screen use under linux

1. Use screen split screen (only up and down split screen, not left and right split screen)

 

(1) Installation tool

 

yum install screen install screen tool

 

(2) Using tools

 

1. Enter the command screen to use the tool

 

2. Split screen up and down: ctrl + a and then shift + s

 

3. Switch the screen: ctrl + a and then press the tab key

 

4. Create a new terminal: ctrl + a and then press c

 

5. Close a terminal: ctrl + a and then x (or exit directly)

 

 

2. Use tmux split screen (you can split screen left and right, or split screen up and down),

 

(1) Installation tool

 

yum install tmux installs the tmux tool

(2) Using tools

 

1. Enter the command tmux to use the tool

 

2. Split screen up and down: ctrl + b and press "

 

3. Left and right split screen: ctrl + b and then press %

 

4. Switch screen: ctrl + b then press o

 

5. Close a terminal: ctrl + b then press x

 

6. Switch up and down split screen and left and right split screen: ctrl + b and then press the space bar

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326317564&siteId=291194637