The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
IP address of machine harneet2004us UNIX for Advanced & Expert Users 3 04-16-2008 01:54 PM
Getting Unix machine IP address asutoshch Shell Programming and Scripting 6 04-30-2006 05:14 AM
how to retrieve IP address of a machine mridula IP Networking 5 11-02-2005 06:21 AM
How to get IP Address of machine? Ahsan High Level Programming 7 10-24-2003 08:16 AM
Changing Machine IP address kkinnon UNIX for Advanced & Expert Users 7 08-27-2002 11:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-25-2008
Registered User
 

Join Date: Aug 2008
Posts: 1
IP address of Unix machine

Can any one please tell me how to find the IP address of the Unix machine we are in?
Reply With Quote
Forum Sponsor
  #2  
Old 08-25-2008
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
nslookup command
Reply With Quote
  #3  
Old 08-25-2008
Registered User
 

Join Date: Aug 2008
Posts: 58
You can view the information about the configured network interfaces with this command:
Code:
ifconfig
Reply With Quote
  #4  
Old 08-25-2008
etcpasswd's Avatar
Registered User
 

Join Date: Aug 2008
Posts: 25
could be
Code:
ifconfig -a
or you may check the man pages "man ifconfig" for more info.
Reply With Quote
  #5  
Old 08-25-2008
Registered User
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
thoothukudiking,

Check out the below link, plenty of information available here:

Quick HOWTO : Ch03 : Linux Networking - Linux Home Networking
Reply With Quote
  #6  
Old 08-26-2008
sad_angle's Avatar
Registered User
 

Join Date: Jun 2001
Location: Madison, WI
Posts: 73
IP address on *nix

Just copy and paste that line to your command line. It strips the IP address for a clean view

$ /sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'

Good luck
Reply With Quote
  #7  
Old 08-26-2008
Registered User
 

Join Date: Aug 2008
Location: India
Posts: 108
ifconfig -a|grep -i BROADCAST
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 09:38 PM.


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