PDA

View Full Version : How to find out my IP address?


lola
20th April 2005, 18:25
Is there a way I can find out my IP address on my new SuSE 9.2 system? :confused:

lola

tommyboy
20th April 2005, 18:42
Log in to a shell, and run

ifconfig

It shows you all your network cards and their current IP adresses.

Tom

lola
21st April 2005, 11:26
Thanks Tom, that does the trick! :)

lola

Gorgonzola
18th March 2006, 23:06
:D
check your IP you on following locations
http://static-or-dynamic-ip.com
http://echoip.com

sbovisjb1
25th March 2006, 16:15
When run by itself, whoami looks like this:
$ whoami
sbovisjb1

That should be sufficient to give you the clue on how to implement the test you seek:
if [ $(whoami) = "sbovisjb1" ]
then
execute the code, we're the right user
else
echo "You must be user 'joe' to run this script."
exit 0
fi

You can modify this to match the user or set of users you want to allow, or you can negate the logic to screen out bad userIDs immediately, like this:
if [ $(whoami) = "root" ]
then
echo "You cannot run this script as root."
exit 1
fi

original source: http://www.askdavetaylor.com/how_can_shell_scripts_check_user_id.html

sbovisjb1
26th March 2006, 03:23
I mentioned a website where you can check you're ip adress history... i believe the feds use this... :)

http://www.iptagger.com/

Londoner
26th August 2006, 09:54
Another good site for finding info on your IP address is:
IP Notes - Find out your IP address (http://www.ip-notes.com)
(copied from my bookmarks)
It also sticks your location on a Google Map - quite funky.

falko
27th August 2006, 16:52
It also sticks your location on a Google Map - quite funky.
That's a nice feature - although it's showing my ISP's location and not mine. But still interesting. :)

Chris76x
9th September 2006, 02:21
This page show your IP and if you want to copy and paste it, you just have to click on the IP and it will copied.

http://ipdragon.com

Chris

Hans
9th September 2006, 08:35
Or URL: http://whatismyip.com/

muthumadhu
22nd May 2009, 13:19
I am muthu. If u want to know Your internet ip address plz visithttp://www.ip-details.com.Or else If u want to know your LAN connection ip address go to cmd in your System and Type ping.U will get.

muthumadhu
5th June 2009, 13:09
U want to know your ip address.U go to cmd and type ipconfig,If u want to know internet ip address click this linkhttp://www.ip-details.com