码迷,mamicode.com
首页 > 其他好文 > 详细

A case for Tmux tool

时间:2015-09-06 18:35:49      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:tmux   terminal multiplexer   

Terminal Multiplexer:

The below is a case using in my usual works:


"

tmux new-window -n foo "sshme jumpbox1"
tmux selectp -t 0 # select the first (0) pane
tmux splitw -v  -t 0 "ssh -l user1 jumpbox2"    # split it into two halves
tmux selectp -t 1 # select the new, second (1) pane
tmux splitw -h -t 1 "sshme jumpbox3"
tmux select-pane -t 0
"


The result as below:

技术分享


you can operations in three terminals at the same time .

the switch shortcut:


C + b+q , then select the panel number.


The offical website for tmux :

http://tmux.github.io/


A case for Tmux tool

标签:tmux   terminal multiplexer   

原文地址:http://8408364.blog.51cto.com/8398364/1691820

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!