pdsh

Put a list of nodes into a file

phs01
phs02
phs03
phs04
phs05
phs06
phs07
phs08
phs09

Now define a VAR

This needs to be in your .bashrc file

export WCOLL=$(pwd)/hosts.txt