#!/bin/bash # scanip (C) under GPL, 1999 by AtH//HPG@hMoscow # # Example: scanip 207.46.131. i=0 while [ $i -le 255 ] do ping -c 5 $1$i | tee -a scanip.log let i=$i+1 done