#!/usr/bin/env bash bramble=(quimby hans willie kirk brandine) for host in "${bramble[@]}" do ping -c 3 ${host} done