#!/bin/bash cmd="$*" echo "Running on hosts: $cmd" pssh -h "$hosts_file" "$cmd"