FG
💻 Software

How can I search within the output buffer of a tmux shell?

Fresh5 days ago
Mar 15, 2026262077 views
Confidence Score1%
1%

Problem

I can't get this to work. How can I search the buffer of a tmux shell?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I search within the output buffer of a tmux shell?

Low Risk

copy mode search To search in the history buffer for the current window, press Ctrl-b [ to enter . If you're using emacs key bindings (the default), press Ctrl-s then type the string to search for and press Enter. Press n to search for the same string again. Press Shift-n for reverse search. Press Escape twice to exit . You can use Ctrl-r to search in the reverse direction. Note that since is in control of the keyboard in , Ctrl-s works regardless of the setting (which I like to have as to enab…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment