At 04:31 PM 5/3/00, you wrote:
>I want to write a script which will run on Linux, Solaris 2.x, and IRIX
>6.x which needs to determine it's own IP address or it's subnet of the
>machine that it's running on.
The ping and ifconfig output are not the same between platforms.
Can I grep it out of /etc/hosts?
What regular expression would I use with egrep to find something that
started with white space and either ended with white space or an end of line?
10.0.0.1 hostname hostname.mydom.com
Thanks,
Stan
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.