Jan Walraven
DevOps



Menu
Categories:
Posted on

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

Add extra terminal


^b c

switch between terminals


^b

add pane


^b "

switch between panes


^b /

switch between horizontal/vertical panes


^b

show manual


^b ?

Create three pane tmux with script


#!/bin/bash
tmux new-session -d -s session01
tmux split-window -h  -t session01:0
tmux split-window -v  -t session01:0
tmux select-window -t session01:0