In a message dated: 24 Oct 2001 14:33:00 EDT
Kevin D. Clark said:
>Actually, all that does is time ifconfig. Not very useful...
<grin type=embarrassed>
Oh yeah
</grin>
>You might try:
>
> time sh -c '/sbin/ifconfig eth0 | grep inet | awk -F: "{print $2}" | cut -f1'
That'll probably work a little better :)
>``Overhead of Perl''? Ha ha...
Well, yeah, but someone was bound to bring that up, so why not me ;)
--
Seeya,
Paul
----
God Bless America!
...we don't need to be perfect to be the best around,
and we never stop trying to be better.
Tom Clancy, The Bear and The Dragon
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************