by marquis · 13y ago · 0 comments
edit: actually pinging the router, 192.168.1.1 etc. Script is:
#! /bin/sh
ping 192.168.1.1 > /dev/null 2>&1
Pinging your loopback address just shows that your localhost is still there.
If you were to write a script that instead pulled the local IPv4 address you are getting - that might be a little more sensical?