Using the Tmux tool for Linux command line columns

Source: Internet
Author: User
Tags exit in

Introduced

Sometimes we need to open multiple programs at the command line at the same time, but each program will occupy the command line, when you can use Tmux, to the command line interface columns.

Installation

You only need one line of command

apt install tmux -y

Run

Execute tmux on the command line and you can see some "changes" in the command line interface.

How to use

1: Press Ctrl+b before all operations (shortcut key for short)
2: All action objects are the command line (green squares) on which the "Focus" is located:

Sub-columns: Vertical points:

Press the shortcut key to release, then quickly press the "%" key (this key, you may need to follow the shift along with the press, you should know the reason ...)

Transverse points:

Press the shortcut key and release, then press the double quotation mark "key (remember to press with shift)

To shift the focus to another section:

Press the shortcut key to release, with the direction key control

resizing panes:

Press the shortcut key and just release B, hold down CTRL, then use the arrow keys to resize

Quickly switch panes

In fact, each pane has an ID, press the shortcut key, released after the Q can be displayed, this time by pressing the ID number corresponding to the button can jump (to quickly, before the number disappears)

Close the specified pane

Execute exit in the pane

Exit the entire Tmux

Press the shortcut key to release, press "&" (with Shift bar ~)

Multi-Window Mode

Sometimes a screen does not fit so many panes, Tmux also support paging!

Create page

Shortcut keys, loosen, press C (lowercase, this time without shift)

Toggle Page

Previous: Shortcut key, release, press P
Next: Shortcut key, release, press N

More information

http://blog.csdn.net/longxibendi/article/details/38541005

Using the Tmux tool for Linux command line columns

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.