tmux怎么切换
参考
https://zhuanlan.zhihu.com/p/335818087
- 查看目前开启的tmux窗口
列出所有会话
# tmux ls
0: 1 windows (created Sat Oct 12 15:05:13 2024) (attached)
1: 1 windows (created Sat Oct 12 15:34:13 2024) (attached)
2: 1 windows (created Sat Oct 12 16:08:24 2024) (attached)
- 根据id切换
# tmux attach -t 0
- 更加tmux名切换
# 查看tmux名
# tmux ls
# 切换
# tmux attach a -t tmux_name