c7f69d0d9a9e9eb0cc7d610495732f2f40f48c4a
[mirrors/Programs.git] / pingscan.sh
1 echo pings:
2 for i in $(seq 0 255); do
3 host=$(echo "$1" | sed -e "s/\*/$i/g");
4 echo -ne "$host\r";
5 ping -bc 1 -W 1 "$host" &>/dev/null &
6 pids="$! $pids";
7 done;
8 echo
9 echo pongs:
10 wait $pids;
11 arp -a | grep -v incomplete
This page took 0.277407 seconds and 3 git commands to generate.