Former-commit-id: 67d24d71ad3e2e734f1fea149e36a35f41508ac4
Former-commit-id: 02fdfd5451dc412d4992196ec2521055812b0f78
This commit is contained in:
Kaj Forney 2018-11-05 15:55:14 -07:00
commit 45410ff8c5
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
for ip in $(seq 1 254); do
ping -c 1 172.100.100.$ip |grep "bytes from" |cut -d" " -f4|cut -d";" -f1&
done
#!/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&
done