Add sleep statement to pingsweep.
This commit is contained in:
parent
ea15d547b2
commit
4e36f6e507
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
for ip in $(seq 1 254); do
|
||||
ping -c 1 172.30.0.$ip |grep "bytes from" |cut -d" " -f4|cut -d";" -f1&
|
||||
ping -c 1 172.30.0.$ip |grep "bytes from" |cut -d" " -f4|cut -d";" -f1&
|
||||
sleep 0.01
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue