Hi,
in some script I need all the local IP addresses of a host,
as there are 127.0.01, 192.168.8.1, ...
I can do this using the command suite
LANG= /sbin/ifconfig | awk '/\<inet\>/{split($2,a,":");print a[2]}'
As this is quite long I would like to ask whether there is
some smarter way to do it.
Thanks in advance,
Bertram Scharpf
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
--
[EMAIL PROTECTED] mailing list

