Use gsh to run the same command on multiple servers

Posted by kprojects on Mar 28, 2016 1:59 PM EDT
LinuxOS.pro; By Rob Kennedy
Mail this story
Print this story

At some point you will find it very handy to be able to run the same command on multiple servers. Sure, you could just put a list of IPs in a file and run something against it using a for loop, but gsh is going to make your life much easier.

First off, i’ve used the old ‘list of ips’ way in the past – especially if I have an easy list of servers that are all the same and know that I want to group them all together. I’ve even written about it. gsh, on the other hand, will allow you to run the same command on various servers sorted by category.

Full Story

  Nav
» Read more about: Story Type: Reviews, Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.