Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th April 2005, 19:25
lola lola is offline
Junior Member
 
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?

lola
Reply With Quote
  #2  
Old 20th April 2005, 19:42
tommyboy tommyboy is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Log in to a shell, and run

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

Tom
Reply With Quote
  #3  
Old 21st April 2005, 12:26
lola lola is offline
Junior Member
 
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Tom, that does the trick!

lola
Reply With Quote
  #4  
Old 19th March 2006, 00:06
Gorgonzola Gorgonzola is offline
Junior Member
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Talking If you online...


check your IP you on following locations
http://static-or-dynamic-ip.com
http://echoip.com
Reply With Quote
  #5  
Old 25th March 2006, 17:15
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #6  
Old 26th March 2006, 04:23
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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/
Reply With Quote
  #7  
Old 26th August 2006, 10:54
Londoner Londoner is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #8  
Old 27th August 2006, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #9  
Old 9th September 2006, 03:21
Chris76x Chris76x is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #10  
Old 9th September 2006, 09:35
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 1,987
Thanks: 123
Thanked 542 Times in 240 Posts
Default Another site to check your IP

Or URL: http://whatismyip.com/
__________________
Hans

http://ispconfig.bb-hosting.org/uk
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:59.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th