On Friday 25 May 2007 16:06, Alexey Eremenko wrote:
> On 5/26/07, Randall R Schulz <[EMAIL PROTECTED]> wrote:
> ...
> >
> > I'd go for "hostname -i" to simply see my local host's IP address.
> > It's much easier than finding the proper IP address in the output
> > of ifconfig (it currently produces 44 lines of output on my
> > system). The "hostname" command happens to be in /bin/hostname,
> > which should be in every user's PATH. Hostname has lots of other
> > useful options. Check it out.
>
> Well, this command returns something incorrect:

If that's really so, probably something is misconfigured.


> [EMAIL PROTECTED]:~> hostname -i
> 127.0.0.2
>
> Because I don't have such an IP address.

How sure are you of that? Why don't you try pinging and traceroute-ing 
it?


Randall Schulz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to