How to send commands when opening a tmux session inside another tmux session?
问题 A typical situation may be: $ tmux [0] $ ssh example.com $ tmux attach [0] $ I open a tmux session, then ssh in to a server and attach to an existing tmux session. At this point I have one tmux session inside another. How do I send commands to the inner tmux session? Note: Both tmux sessions have the same key bindings. 回答1: The send-prefix command can be used to send your prefix keystroke to (the process running in) the active pane. By default, the prefix is C-b and C-b is bound to send