Linux下使用tmux

1.tmux介绍

tmux是terminal multiplexer的缩写,这里multiplexer怎么翻译才好呢?

下面是英文介绍:

tmux is a terminal multiplexer:it enables a number of terminals to be created, accessed, and

controlled by from a single session。tmux may be detached from a screen and continue running

in the background, then later reattached.

when tmux is started it creates a new session with a single window and display it on screen. A 

status line at the bottom of the screen shows information on the current session and is used to 

enter interactive command.

A session is a single collection of pseudo terminals under the managment of tmux, Each session 

has one or more windows linked to it. A window occupies the entire screen and may be split into

rectangular panes, each of which is a seperate pseudo terminal. Any number of tmux instances 

may connect to a same session, and any number of windows may be present in the same session.

Once all sessions are killed, tmux exits.

2. tmux的安装

在ubuntu下,sudo apt-get install tmux。

也可以用源代码包进行安装,下载地址:http://tmux.sourceforge.net/  

原文地址:https://www.cnblogs.com/miaoyong/p/3568208.html