Skip to main content

Real-World Workflows

Professional use cases showing how tmux solves real problems in development and operations.

Verified Jun 2026 for tmux 3.6b
10 min read
intermediate

DevOps & infrastructure management

Manage many servers and monitoring systems from one screen.

  • Server monitoring — split a window into a 2×2 grid with htop, iftop, log tailing, and a command prompt.
  • Multi-server admin — use synchronize-panes (see advanced features) to run apt update on four servers simultaneously.
  • Production support — keep a persistent session on the jump host to reach production without re-authenticating.

Software development

Turn the terminal into an IDE.

  • IDE layout — Vim/Neovim on the left (80%), terminal/test runner on the right (20%).
  • Context switching — one session for "Backend", one for "Frontend"; switch instantly with Ctrl+b s.
  • TDD loop — use tmux send-keys from your editor to trigger tests in the adjacent pane automatically.

Automate your setup with a script (e.g. dev.sh) — see the configuration guide for more automation tips.

bash
#!/bin/bash
tmux new-session -d -s dev -n "editor"
tmux send-keys -t dev "vim" C-m
 
tmux new-window -t dev -n "server"
tmux send-keys -t dev "npm run dev" C-m
 
tmux attach -t dev

Data science & long-running tasks

Never lose your training progress.

  • Model training — start a 12-hour run on a remote GPU instance, detach, and check back later.
  • Jupyter persistence — keep Jupyter Notebook servers running in a background session.
  • Remote visualization — use SSH tunneling in one window while monitoring TensorBoard in another.