Learn tmux - duongphuhiep/blog1 GitHub Wiki

Task Prefix Key (C-b) +
New session tmux new -s session_name
Rename session tmux rename-session -t old_name new_name
List session tmux ls
Rename current Session $
Detach Session d
Attach Most recent Session tmux attach
Attach Specific Session tmux attach -t session_name
New Window c
Rename Current Window ,
List and switch between Session and Window w
Switch Window w (list),
n (next),
p (previous),
1, 2 ...
l (last use)
Split Pane %
Split Pane Horizontally "
Close Pane x
Move between Pane Arrow Key
Scroll inside the Pane [
  • Session is like Workspace
  • Window is like a Tab
  • Window is splited to multiple Pane, each is an individual shell
flowchart TD 
Root[Konsole Root] -->|attach to| Session
Session -->|has multiple| Window
Window -->|has multiple| Pane
Loading
⚠️ **GitHub.com Fallback** ⚠️