Skip to content
Home

tmux: terminal multiplexing basics

Run and switch between multiple terminal sessions inside a single window.

bash·1 min read··INE Certification

Not pentest-specific, but genuinely useful mid-engagement. Juggling a listener, an active session, and a scan in parallel is much less painful inside tmux than across a pile of terminal tabs or windows.

Basics

tmux                        # start a new session
# then, all with the prefix Ctrl+B first:
Ctrl+B  c                   # create a new window
Ctrl+B  <number>             # jump to window N
Ctrl+B  '                    # prompt for a window number above 9

Each window gets a numeric ID shown at the bottom of the screen.

Why use it