in reply to Re: PERL SCRIPT FOR IPv6 LOOK-UP
in thread PERL SCRIPT FOR IPv6 LOOK-UP
#!/bin/sh # # pinghosts - ping hosts in /home/olle/file2.txt, output is coloured ( +red=bad). Ver 1.00. # # for host in `awk '/^[0-9]/ { print $1 }' /home/ole/file2.txt` do echo "Checking $file2: \c" ping6 $host 1 2>&1 | \ sed 's/.*no answer.*/[31;1m& [0m/;s/.*is alive.*/[32;2m& [0m/' done
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PERL SCRIPT FOR IPv6 LOOK-UP
by sweetblood (Prior) on Jun 08, 2010 at 20:03 UTC | |
by ww (Archbishop) on Jun 09, 2010 at 01:37 UTC | |
by Anonymous Monk on Jun 09, 2010 at 02:21 UTC | |
by ww (Archbishop) on Jun 09, 2010 at 11:58 UTC | |
by Anonymous Monk on Jun 09, 2010 at 12:00 UTC | |
| |
|
Re^3: PERL SCRIPT FOR IPv6 LOOK-UP
by sam127 (Initiate) on Jun 08, 2010 at 17:39 UTC | |
by toolic (Bishop) on Jun 08, 2010 at 17:49 UTC | |
by AndyZaft (Hermit) on Jun 08, 2010 at 20:23 UTC | |
by Generoso (Prior) on Jun 08, 2010 at 20:25 UTC |