tmux horizontal split code example
Example 1: tmux split-window leave open
tmux set-option remain-on-exit on
tmux split-window 'ping -c 3 127.0.0.1'
Example 2: tmux split horizontal
To split a pane horizontally, press Ctrl+b and " (single quotation mark).