tmux Use for existing interactive tmux sessions. For one-shot commands, use normal shell. For new non-interactive background jobs, use background execution. Basics Target format: , e.g. . Send input Literal text, then Enter: Special keys: Use for arbitrary text. Split text and Enter to avoid paste/newline surprises. Sessions Prompt checks Approve/select only when the prompt is understood: Helpers - : discover sessions. - : wait until captured pane contents contain text. searches echoed input and scrollback as well as process output. For command completion, use a unique marker whose full text…