From 1014ae3e395f8a0fbcb3558740980e49cdfcb17a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Nov 2018 14:52:48 -0600 Subject: [PATCH] Update Commit Update pingsweep 11-1-2018 Former-commit-id: 713f7efafacd248adebfbcaa3952ba3e1090b646 Former-commit-id: 76adfe46fc7bbd6da4ef800c0957807dadc48836 --- filesystem/etc/skel/scripts/pingsweep.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/filesystem/etc/skel/scripts/pingsweep.sh b/filesystem/etc/skel/scripts/pingsweep.sh index 7cd71aec..7c92c500 100755 --- a/filesystem/etc/skel/scripts/pingsweep.sh +++ b/filesystem/etc/skel/scripts/pingsweep.sh @@ -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