-
Notifications
You must be signed in to change notification settings - Fork 0
TMUX
Shamik edited this page Mar 19, 2026
·
1 revision
- tmux new -A -s [session name]
- tmux new-session -s [session name]
- tmux attach-session -t [session name]
- tmux attach -t [session name]
- tmux ls
- tmux kill-session -t [session name]
- If you are already inside a TMUX session, then exit or tmux detach
- tmux kill-server
ssh -i access_keys/dynamic-hero.key -t ubuntu@129.80.133.167 ‘tmux -CC new -A -s dynamic’Ctrl+b n - next window
Ctrl+b p - previous window
Ctrl+b [window number] - select window number
Ctrl+b c
Ctrl+b &
Ctrl+b [ {page up / down}
spacebar
Ctrl+b d
If you have nested tmux session running then to detach only from the inner tmux
Ctrl+b Ctrl+b d
There are two ways to start TMUX sessions on ITERM2. One way is to start a basic TMUX session and the other way is to launch it in control mode . The allows ITERM2 to manage all the TMUX windows and panes. This will always launch a new TMUX window separate from the terminal window.
- tmux -CC new -A -s [session name]
- tmux -CC new-session -s [session name]