how to use tmux?


This article is just  a primary SPEC to show some basic and common operations for the TMUX.

On the tmux's official page: 点击打开链接

it said like below: 

tmux is a terminal multiplexer

What is a terminal multiplexer? It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. And do a lot more.


In the other words,  the "tmux" is a populor and easy-using tool to login a remote server and handle it. The most useful feature is manage the sessions and windows/panels.


type "tmux" into a terminal,now a session was attached.


ctrl + b, s      list sessions

ctrl + b, c      create new session

ctrl + b, d      detach


tmux + attach:

tmux + detach:

tmux + ls:

tmux + new + -s + $name:              create a new session with $name

tmux + a(ttach) + -t + $name:          attach ....

tmux + kill-window + -t + $name:

tmux + kill-session + -t + $name:


ctrl + b + [direction key] :                   move cursor into different window/panel

ctrl + b + %:                                        split window/panel as column

ctrl + b + " :                                          split window/panel as row

ctrl + b + x:                                           kill a pane


all in all, the above words all are just for my own' refer to .

if you do like what those above said and cause some errors, it's not my liabiilty.

LOL, THX.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值