The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing windows server alias name on windows or unix? NycUnxer UNIX for Dummies Questions & Answers 1 03-26-2008 02:54 PM
Change a Unix IP address randy1 IP Networking 8 12-26-2006 02:58 AM
Getting Unix machine IP address asutoshch Shell Programming and Scripting 6 04-30-2006 05:14 AM
Sending an Ip/web address from Unix marksy99 Shell Programming and Scripting 4 11-04-2005 05:42 AM
How do I get the IP address of my local unix box??? marty 600 UNIX for Dummies Questions & Answers 9 04-12-2005 06:45 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2007
Registered User
 

Join Date: Sep 2007
Posts: 21
How to get Windows machine's IP address from Unix?

I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that ifconfig will give unix mahcine's IP address currently logged in.)
Reply With Quote
Forum Sponsor
  #2  
Old 12-05-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
The general consensus is that "last" is best bet.

ifconfig only shows a machines local IP addresses (and remote point-to-point)
Reply With Quote
  #3  
Old 12-05-2007
Registered User
 

Join Date: Nov 2007
Posts: 17
Don't know if it will work for IBM AIX, but you could try:

# who -R

or

# who am i -R

Works for HP-UX 11i.
Reply With Quote
  #4  
Old 12-05-2007
Registered User
 

Join Date: Sep 2007
Posts: 21
Thanks

Thanks Porter and Ejdv. Finally i found a command who -m to find the IP address of the windows machine through which I have connected. From the output I could cut the IP address alone.

Thanks
Vijay
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0