![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#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?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
nslookup command
|
|
#3
|
|||
|
|||
|
You can view the information about the configured network interfaces with this command:
Code:
ifconfig |
|
#4
|
||||
|
||||
|
could be
Code:
ifconfig -a |
|
#5
|
|||
|
|||
|
thoothukudiking,
Check out the below link, plenty of information available here: Quick HOWTO : Ch03 : Linux Networking - Linux Home Networking |
|
#6
|
||||
|
||||
|
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
|
|||
|
|||
|
ifconfig -a|grep -i BROADCAST
|
|||
| Google The UNIX and Linux Forums |