Skip site navigation (1)Skip section navigation (2)
Date:      28 Apr 2003 21:55:45 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        "DJ Boris" <dj_boris@mail.ru>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: extract IP address and feed it into a command
Message-ID:  <44u1cikqxq.fsf@be-well.ilk.org>
In-Reply-To: <01de01c30dd1$5c5d4c10$6300a8c0@fmelectro.co.za>
References:  <01de01c30dd1$5c5d4c10$6300a8c0@fmelectro.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
"DJ Boris" <dj_boris@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). 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u1cikqxq.fsf>