In the physical world, if you leave the forge, the fire eventually goes out. In the digital world, Tmux (Terminal Multiplexer) allows you to step away while your tools remain exactly where you left them.
Why Tmux is Vital
For those of us working with remote servers, a “broken pipe” error is the enemy. Tmux creates a persistent session on the VPS.
- Detach and Attach: You can start a process, “detach” from it, and come back hours later to find it still running.
- Windows and Panes: You can split your screen—Vim on the left, your Hugo server logs on the right.
The Basic Strikes
tmux new -s blog: Start a new session named ‘blog’.Ctrl+bthen%: Split the screen vertically.Ctrl+bthend: Detach (walk away from the forge).tmux attach -t blog: Return to exactly where you were.
Forged in the terminal. Refined under the anvil.