Dear debian users,
Is there a utility to simply return the IP address of an interface, say eth1 or ppp0? I need something that works like:
$ netutil eth0 144.133.251.117
... or is it necessary to use ifconfig something like as follows:
$ ifconfig eth0 | sed ' ... ' | cut '....' | awk '...' | .... etc 144.133.251.117
?
TIA
James
PS. I am doing this all in order to get ddns3 working so any pointers to useful docs would be greatly appreciated.
This is a script one of my co-workers wrote that may help http://zwitterion.org/software/dynamic-dns-update/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]