Skip to main content

Tmux

  • tmux new - Create new tmux session
  • tmux new -s <session_name> - Create new tmux session with specified name
  • tmux ls - List available sessions
  • tmux a or tmux attach - Attach to last session
  • tmux a -t <session_name> - Attach to specified session
  • tmux kill-session -t <session_name> - Kill a specified session
  • Ctrl+B C - Create a new window
  • Ctrl+B N - Navigate to next window
  • Ctrl+B N - Navigate to next window
  • Ctrl+B P - Navigate to previous window
  • Ctrl+B & - Close current window
  • Ctrl+B D - Detach
  • Ctrl+B ? - Show shortcuts
  • Other shortcuts from Tmux Cheatsheetโ†—๏ธ