Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Ipconfig command for UNIX?

Ipconfig command for UNIX?
Thread Tools
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status: Offline
Reply With Quote
Sep 15, 2003, 04:35 PM
 
What is the syn for the Ipconfig cmd in windows for Unix? Is there one?
     
Senior User
Join Date: Dec 2002
Location: Portland, OR
Status: Offline
Reply With Quote
Sep 15, 2003, 04:49 PM
 
Originally posted by Tyler McAdams:
What is the syn for the Ipconfig cmd in windows for Unix? Is there one?
Depends on what info you are looking for. There is no one command that lists everything that ipconfig does.

You might look at ifconfig for info about interfaces, and uname -a or hostname for the hostname. Nameserver info is in /etc/resolv.conf on most Unixes (including OS X) On some Unixes you can run nslookup and use the "server" command by itself to get info about your current resolver. That doesn't seem to work on OS X though. You can just cat the file.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:29 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2