[EMAIL PROTECTED] wrote:
> On Mon 07 May 2007 15:03, mourik jan wrote:
>   
>> I guess: "ifconfig"
>> and look for inet addr: x.x.x.x
>> normally you should look for the inet address under eth0.
>>     
>
>  - Thanks, but it does not yet seem to work for me
>
> Gibson Research Corporation 
> http://www.grc.com/default.htm
>
>  - their "Shields UP" can immediately show ones current Internet 
> connection address
>
> - What is the Linux command to achieve this result please?
>
> thanks
>
>   
Here's a command I use.  It require you to have Lynx installed.
lynx -dump http://checkip.dyndns.org|grep IP

If you want to get fancy and have a pop up box with your IP, use this
script (assuming you're running KDE).

#! /bin/sh
kdialog --msgbox "$(lynx --dump "http://checkip.dyndns.org/";)"




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

Reply via email to