docs
[mirrors/Programs.git] / bash / pingscan.sh
CommitLineData
21c4e167
H
1echo pings:
2for 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";
7done;
8echo
9echo pongs:
10wait $pids;
11arp -a | grep -v incomplete
This page took 0.212343 seconds and 4 git commands to generate.