- tmux
Ctl+B D # Detach from session
[detached (from session 0)]
ssh from any other computer, resume that session
$ tmux a[ttach]
$ tmux new -s bob
when detaching it
[detached (from session bob)]
$ tmux ls
0: 1 windows (created Fri Oct 25 19:09:12 2024)
bob: 1 windows (created Fri Oct 25 19:22:36 2024)
$ tmux a -t 0
$ tmux kill-session -t bob
$ tmux ls
bob: 1 windows (created Fri Oct 25 19:22:36 2024)
$ tmux kill-server
- Ctl + B c
- notice the bottom left corner, it shows the window infos
[0] 0:zsh- 1:zsh*
- Ctl + B n
[0] 0:zsh* 1:zsh-
- Ctl + B w
- Ctl + B &
- then type
y
to confirm
- then type
- Split window horizontally
- Ctl + B %
- Split window vertically
- Ctl + B "
- Ctl + B arrow
- Ctl + B q
to move to specific panel with panel number, e.g. panel 2
- Ctl + B q 2
- Ctl + B x
- then type
y
to confirm
- then type