Run the same command on many Linux servers at once
May 25, 2014, 06:00 (0 Talkback[s])
(Other stories by Linuxaria)
Ever have to check a list of Linux servers for various things like what version of CentOS they're running, maybe how long each has been running to get an uptime report? You can and it???s very easy to get going with it with the command gsh Group Shell (also called gsh) is a remote shell multiplexor. It lets you control many remote shells at once in a single shell. Unlike other commands dispatchers, it is interactive, so shells spawned on the remote hosts are persistent. It requires only a SSH server on the remote hosts, or some other way to open a remote shell.