The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:54 PM
Getting Unix machine IP address asutoshch Shell Programming and Scripting 6 04-30-2006 08:14 AM
how to retrieve IP address of a machine mridula IP Networking 5 11-02-2005 09:21 AM
How to get IP Address of machine? Ahsan High Level Programming 7 10-24-2003 11:16 AM
Changing Machine IP address kkinnon UNIX for Advanced & Expert Users 7 08-27-2002 02:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2008
thoothukudiking thoothukudiking is offline
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?
  #2 (permalink)  
Old 08-25-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,930
nslookup command
  #3 (permalink)  
Old 08-25-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
You can view the information about the configured network interfaces with this command:
Code:
ifconfig
  #4 (permalink)  
Old 08-25-2008
etcpasswd's Avatar
etcpasswd etcpasswd is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 40
could be
Code:
ifconfig -a
or you may check the man pages "man ifconfig" for more info.
  #5 (permalink)  
Old 08-26-2008
sydney2008 sydney2008 is offline
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
  #6 (permalink)  
Old 08-26-2008
sad_angle's Avatar
sad_angle sad_angle is offline
Registered User
  
 

Join Date: Jun 2001
Location: Madison, WI
Posts: 75
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
  #7 (permalink)  
Old 08-26-2008
palsevlohit_123 palsevlohit_123 is offline
Registered User
  
 

Join Date: Aug 2008
Location: India-Chennai
Posts: 120
ifconfig -a|grep -i BROADCAST
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting 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



All times are GMT -4. The time now is 10:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0