Do you create crazy for loops to deal with lots of hosts? I dont. I like simple. My middle school math teacher once told me that the best mathematician is a lazy mathematician. I thought, wow I should be the best at math then. Seriously though, I help lots of folks who are new to distributed computing. Standing over their shoulders I watch as they usually struggle with lots of concepts and best practices once things are spread out horizontally. Probably the very first thing someone is faced with on a daily basis is “How do I interact with all these systems?” One answer and the topic of a previous blog entry is to use multiple terminals or tabbed terminals but this only goes so far. For my money pdsh has taken me a long way. I have no intention of describing everything it can do but suffice it to say its worth your time getting to know this tool and another related tool pdcp. In short these two tools will let you run commands and copy files across groups of nodes defined dedicated group files or using a simple regular expression type pattern at the command line. A simple linux alias ( alias mypdsh=’pdsh -w nodes[1-4]’ )is alway helpful too.