Tmux is an alternative for screen. For anyone who doesn’t know screen, it is a terminal multiplexer which means, it allow multiple windows in terminal. It can split your window into multiple panes (vertical/horizontal), detach a session which can be attached at a later time. Detach/Attach is very useful for running a job in a remote server without having to keep the ssh open the whole time.
Tmux can be configured by ~/.tmux.conf file.
My prefix key is Ctrl-q.
Synchronizing panes:
If you want to send your keystrokes to all the panes in your tmux window:
Play VideoPlayMuteCurrent Time 0:00/Duration Time 0:00Loaded: 0%Progress: 0%Stream TypeLIVERemaining Time -0:00 Playback Rate1Chapters* Chapters Subtitles* subtitles off Captions* captions off FullscreenThis is a modal window.
Foreground
White Black Red Green Blue Yellow Magenta Cyan
Opaque Semi-Opaque
Background
White Black Red Green Blue Yellow Magenta Cyan
Opaque Semi-Transparent Transparent
Window
White Black Red Green Blue Yellow Magenta Cyan
Opaque Semi-Transparent Transparent
Font Size
50% 75% 100% 125% 150% 175% 200% 300% 400%
Text Edge Style
None Raised Depressed Uniform Dropshadow
Font Family
Default Monospace Serif Proportional Serif Monospace Sans-Serif Proportional Sans-Serif Casual Script Small Caps
Defaults Done
This is immensely useful if you want to execute the same set of commands on multiple servers.