Tmux is a linux based tool, called terminal multiplexer helps enable many terminals to be accessed and controlled by a single terminal. Say if you wanted to install a program in all the linux machines in your network, then by using tmux you could access the terminal of all your machines and install the package simultaneously.
This tool has been very beneficial to me and thought I could share this to my readers.
You could install by
sudo apt-get install tmux
and when you enter
from command line, you will get a screen like this:
Caveat: You need to have openssh-server installed in every machine however you do not need to install Tmux in every machine.
Pictures speak more than words and the following pictures show how I installed Java in multiple machines.
tmux new -s 'new session 'ssh user@host_or_ipaddress' \; split-window -h 'ssh user@host_or_ipaddress' \; split-window -h 'ssh user@host_or_ipaddress' \; select-layout even-vertical
once you enter these panes, press
ctrl-b and ":" (use shift key) setw synchronized-panes
and there you go. The following picture is where I installed Java 8 in 6 machines in one go
more information can be found here.