"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).