Skip to content

Terminal Multiplexing

Terminal multiplexing is the process by which one terminal instance can interact with multiple shell instances.  GNU Screen, for many years, has been the only viable option for linux users to multiplex their environment.  Tmux is a new terminal multiplexer created, under a BSD license, to replace screen.

While screen may be more widely used and familiar to people, we do not explicitly install it on EECS linux machines because it is older and can be mimicked by tmux.  If you are a screen user and wish to use familiar key bindings on EECS linux systems, you can copy the “screen-keys.conf” file, provided by tmux, into your linux home area:

cp /usr/share/doc/tmux-1.8/examples/screen-keys.conf ~/.tmux.conf

Command-line Options

Function tmux Command Screen “Equivalent”
Start a new session tmux screen
Connect to last session tmux attach screen -r

Interactive Key Bindings

Function Default Keys Screen-like Keys
Create a new window c
Switch to the window on the right n
Switch to the window on the left p
Switch to the previously selected window l
Switch to the next window pane o
Switch to the window pane above X
Switch to the window pane below X
Switch to the window pane on the right X
Switch to the window pane on the left X
Split the current window pane horizontally ^a + |
Split the current window pane vertically %
Rename the current window ,
Renumber the current window .
Force-kill the current window &
Detach from the current session d
List all available key bindings ?

The flagship campus of the University of Tennessee System and partner in the Tennessee Transfer Pathway.