Add sleep statement to pingsweep.

This commit is contained in:
Kaj Forney 2020-12-01 15:59:50 -07:00
parent ea15d547b2
commit 4e36f6e507
Signed by: kforney
GPG Key ID: 3AB4E2E04CEF656F
1 changed files with 2 additions and 1 deletions

View File

@ -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