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/
原文:http://8408364.blog.51cto.com/8398364/1691820