6

tmux常用命令备忘

 2 years ago
source link: http://blog.colorccm.com/2021/05/16/it/tmux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

tmux常用命令备忘

发表于2021-05-16|更新于2021-05-17|it
阅读量:9

Tmux常用的命令与快捷键备忘。

命令行命令

创建会话
tmux new -s <name>
显示所有的会话
tmux ls
进入某个会话
tmux attach -t sessionname
重命名会话
tmux rename-session -t sessionname
杀死会话
tmux kill-session -t sessionname

Ctrl+b+*

makefile
s:所有会话
d:离开当前会话
c:在当前会话中创建一个新的窗口
n:切换到下一个窗口
w:从列表中选择窗口
<0-9>:切换到指定编号的窗口
;:重命名当前窗口
%:分成左右两个窗格
":分成上下两个窗格
z:当前窗格全屏显示,再按一次恢复
o:光标切换到下一个窗格

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK