extract IP address and feed it into a command

Lowell Gilbert freebsd-questions-local at be-well.no-ip.com
Mon Apr 28 18:55:49 PDT 2003


"DJ Boris" <dj_boris at mail.ru> writes:

> Is there a command or something else that I can use in order to get only the
> IP starting with zzz.zzz up to the first space and how do I feed it into the
> above command?

If you need to do it when the address changes, use one of the hooks in
dhclient-script(8). 


More information about the freebsd-questions mailing list