A Blog by Expatriotic

Mini-guide: tmux

Tip jar 🫙 expatriotic@walletofsatoshi.com

Donations
Bitcoin paynym = +expatriotic
Monero QR

88D6SZFBA6fFhYGdnY4c57dTAJD6jyqRTfCKwHjZrfdnhd8phAMYnDQWSJrqyAmgVHV7mDU6soaHogZvno1AUXp79DwtWvK

Tmux (Terminal Multiplexer) allows you to run persistent, multi-window terminal sessions. You can detach from a session, log out, and your programs (like a node sync) will continue to run. You can then re-attach later.

The default Prefix key is Ctrl+B. To send a command, you press the Prefix, release it, and then press the command key (e.g., d to detach).

Session Basics

Killing Sessions

You can terminate sessions from inside tmux (using the prefix) or from your main terminal.

From Inside a Session

From Outside (Main Terminal)