2007-10-12 シェルスクリプトを使って一定範囲のIPにPing メモ #! /bin/shnum = 15 while [ $num != "30" ] do ping -c 3 192.168.1.$num num=`expr $num + 1` done 簡単なものでもすぐ忘れるので。