Skip to content

Send commands to several sessions and react to output

Open the batch input box in the footer. Tick the intended terminal tabs, type a read-only command such as hostname, then press Enter. Confirm which hosts answered. Use this for a one-off command. Mirror input in a terminal’s toolbar broadcasts typing and pasted text to other open terminal panes until you turn it off. Turn it off before responding to an individual prompt.

In Settings → Triggers, create a rule and choose a text or regex match. Start with an observable action such as a notification and a distinctive string, then print that string in a test session. Set the scope and repeat or cooldown behavior before attaching a rule that sends input. If a rule fires repeatedly, check whether its action produces text that also matches the rule.

The batch-operation tool takes an ordered JSON list of steps. A connection step has its connection fields inside params; command, upload and download steps carry their own fields at the top level. Follow the wiki’s format, start with a single test host and an innocuous command, then inspect each step’s result. A delay lets the host catch up; a failed login must be fixed before file transfers can succeed. Use a quick command when the task only needs steps inside the current terminal.

Open the footer’s ƒx → This session tab for a temporary rule. Choose text matching, enter DOCS-DEMO-READY as the match, and choose the notification action. In a POSIX shell, run printf 'DOCS-DEMO-%s\n' READY. Only the output contains the complete marker. The notification confirms the rule matched. Remove the rule there, or create a persistent version in the bookmark’s Triggers tab to reuse it for that host.