Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unix command line to view workstation ip address

Status
Not open for further replies.

evildoughboi

Technical User
Jun 22, 2001
63
US
hello. im tryin to find out what file to view using what unix command line to view a workstation's ip address? thank you for ur help.
 
nslookup is more commonly used to query DNS servers about IP addresses, and may not work correctly if you're behind a NAT firewall.

>nslookup microsoft.com -- would return MS's main registered IP address.

An easier way to do this is to use the ipconfig command:

>ipconfig /all

That command should return any IP addresses for adapters in your machine.

hope that helps
 
ipconfig is actually a WINDOW$ command, the right UNIX command is:

ifconfig or
ifconfig -a

good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top