Search Results

Search: Posts Made By: hutch770
15,950
Posted By hutch770
Never mind...figured it out. Just entered the...
Never mind...figured it out. Just entered the color code before the double pipe and at the end of the second argument.


Thanks again!!
15,950
Posted By hutch770
I added the color snippet, but only the red works...
I added the color snippet, but only the red works on the failed pings (no green for the good pings). Is there a way to make the good pings green and the bad ones red? Have played around with the...
15,950
Posted By hutch770
Vgersh99, Thanks for replying. I've put in...
Vgersh99,

Thanks for replying. I've put in your snippet, and it works as long as the IP ping is "alive". For a bad ping, there's no output on the screen. Is there a way to add that? Our main...
15,950
Posted By hutch770
Using AWK for ping and print..
I'm using a hosts file, formatted like this:

xxx.xxx.xxx.xxx dnsname #comment

Current command is:

for host in 'awk '/^[0-9]/ { print $1 }' etc/hosts'
do
ping $host 1...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy