#!/bin/sh for x in `seq 13`; do echo $x ssh 10.1.1.3 /usr/share/olpc-radio-testing/bin/adhoc-retune $x adhoc-retune $x sleep 3 ping -c 40 10.1.1.3 & for y in `seq 80`; do iwconfig eth0 >> ch-$x.lis sleep 0.5 done done