On Mon, 7 Feb 2000, John Horne wrote:
> I'm try to sort out a (simple) way of determining the local hosts IP address
> (not the 127 address, but the address used by the ethernet card in my case)
> on linux and solaris systems. I know that ifconfig shows this, and it can be
> grepped but is there a simple command that says what the IP address is (like
> hostname gives the hosts name)? I can't think of one and couldn't find one.
> If not, then its going to have to be ifconfig|grep.
[jgaddis@debian:tty2:~]$ hostname -i
192.168.1.102
------------------------------------------------------
Jeremy Gaddis <mailto:[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs