Tmux Tutorial

1. The Core Concept Everything in tmux relies on a Prefix Key. By default, this is Ctrl + b. You press Ctrl and b together, release them, and then press the command key. 2. Quick Cheat Sheet Session Management (Run these in the terminal) Goal Command Start new session tmux new -s training (Name it so you can find it later) Detach (Leave running) Press Ctrl+b then d List running sessions tmux ls Re-attach to session tmux attach -t training Kill a session tmux kill-session -t training Window (Tab) Management (Inside tmux) Goal Shortcut (Press Ctrl+b first!) New Window c Close Window & (or type exit in the shell) Next Window n Previous Window p Rename Window , Pane (Split) Management (Inside tmux) Goal Shortcut (Press Ctrl+b first!) Split Vertically % (Shift + 5) Split Horizontally " (Shift + ‘) Move Focus Arrow Keys Zoom Pane z (Makes current pane fullscreen; press again to unzoom) Scroll Mode [ (Then use arrows/PgUp to scroll. Press q to quit) 3. The “Training Dashboard” Workflow Since you have 8 GPUs, you shouldn’t just run the script. You should monitor it. Here is how to set up a professional view: ...

November 30, 2025 · 2 min · 408 words · xxraincandyxx