Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Two tools for screen splitting in Linux Command Line Terminal

2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Here are two kinds of terminal screen splitting tools: screen and tmux

First, use screen to split the screen (only up and down, not left and right)

(1) install tools

Use sudo apt-get install screen to install screen tools in a ubuntu system

(2) use tools

1, enter the command screen to use the tool

2. Split up and down screens: ctrl + an and then press shift + s

3, switch the screen: ctrl + an and press the tab key

4, create a new terminal: ctrl + an and then press c

5, close a terminal: ctrl + an and then press x (or press exit directly to exit)

Second, use tmux to split the screen (either left or right, or up and down),

(1) install tools

Use sudo apt-get install tmux to install tmux tools in a ubuntu system

(2) use tools

1, enter the command tmux to use the tool

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

3, split the screen left and right: ctrl + b and then press%

4. Switch the screen: ctrl + b and then press o

5, close a terminal: ctrl + b and press x

6. Switch between upper and lower split screen and left and right split screen: ctrl + b and then press the space bar

Other:

! Place the current panel in a new window, that is, create a new window that contains only the current panel

Ctrl+ arrow keys move edges in 1 cell to resize the current panel

Alt+ arrow keys move edges in 5 cells to resize the current panel

The space bar can be switched in the default panel layout. Just try it.

Q display panel number

Arrow keys move the cursor to select the corresponding panel

{displace the current panel forward

} displace the current panel backward

Alt+o rotates the panel of the current window counterclockwise

Ctrl+o rotates the panel of the current window clockwise

Summary

The above is the editor to introduce to you in the Linux command line terminal split screen of the two tools, I hope to help you, if you have any questions, please leave me a message, the editor will reply to you in time. Thank you very much for your support to the website!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report