Tmux Linux split Screen tool

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.