getting my ip in linux

Aldo blinuxman at tuxfamily.org
Sat Apr 28 11:54:13 UTC 2007


On Sat, Apr 28, 2007 at 12:26:21PM +0200, Stefano Manzi wrote:
> The easiest way to obtain your IP is to use the text mode and type the following:
> ifconfig
> press Enter and read the line saying: ip address or something like that.
I'm not sure ifconfig gives you your IP, it gives the eth ip in the inet 
line.
 
> Alternatively, you can open the website:
> www.whatismyip.com

Or you download and install in your /usr/local/bin or in ~/bin
http://brlspeak.net/blinux/myip.tar.gz
after you extracted the tarball.

Ald0




More information about the Blinux-list mailing list