Session Management

  • Start named session: tmux new -s [session_name]

  • Detach (Keep programs running): Ctrl + b, then tap d

  • List all sessions: tmux ls

  • Reattach to last session: tmux attach

  • Reattach to specific session: tmux attach -t [name]

  • Kill a specific session: tmux kill-session -t [name]

  • Create new window: Ctrl + b, then c

  • Switch windows: Ctrl + b, then [number] (0-9)

  • Split vertically: Ctrl + b, then %

  • Split horizontally: Ctrl + b, then "