Update Commit Update pingsweep 11-1-2018

Former-commit-id: 713f7efafacd248adebfbcaa3952ba3e1090b646
Former-commit-id: 76adfe46fc7bbd6da4ef800c0957807dadc48836
This commit is contained in:
root 2018-11-01 14:52:48 -06:00
parent c1f40dd21b
commit 1014ae3e39

View file

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