HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   How to find out my IP address? (http://www.howtoforge.com/forums/showthread.php?t=12)

lola 20th April 2005 18:25

How to find out my IP address?
 
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

Code:

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

If you online...
 
:D
check your IP you on following locations
http://static-or-dynamic-ip.com
http://echoip.com

sbovisjb1 25th March 2006 16:15

script for it
 
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...k_user_id.html

sbovisjb1 26th March 2006 03:23

Found it
 
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

Finding your IP address
 
Another good site for finding info on your IP address is:
IP Notes - Find out your IP address
(copied from my bookmarks)
It also sticks your location on a Google Map - quite funky.

falko 27th August 2006 16:52

Quote:

Originally Posted by Londoner
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. :)

Hans 9th September 2006 08:35

Another site to check your IP
 
Or URL: http://whatismyip.com/

dipeshmehta 1st August 2009 10:34

http://checkip.dyndns.com


All times are GMT +2. The time now is 13:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.