
20th April 2005, 19:25
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

20th April 2005, 19:42
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Log in to a shell, and run
It shows you all your network cards and their current IP adresses.
Tom
|

21st April 2005, 12:26
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Tom, that does the trick!
lola
|

19th March 2006, 00:06
|
|
Junior Member
|
|
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
If you online...
|

25th March 2006, 17:15
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

26th March 2006, 04:23
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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/
|

26th August 2006, 10:54
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

27th August 2006, 17:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

9th September 2006, 03:21
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

9th September 2006, 09:35
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 1,987
Thanks: 123
Thanked 542 Times in 240 Posts
|
|
Another site to check your IP
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:59.
|
Recent comments
1 day 1 hour ago
1 day 6 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago