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
ipaddress in HP-UX RockyC123 Shell Programming and Scripting 7 03-25-2008 07:27 AM
geting server name(ipaddress) babu@shell Shell Programming and Scripting 1 10-24-2006 10:01 AM
Add IpAddress Through Programatically ykmraju High Level Programming 6 07-17-2006 11:48 AM
how to find ipaddress shruti_mgp HP-UX 14 05-04-2006 07:58 AM
change the IPAddress and local name lapnguyen UNIX for Dummies Questions & Answers 2 07-10-2002 02:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2008
DineshV DineshV is offline
Registered User
  
 

Join Date: May 2008
Posts: 1
How to find out the ipaddress?

Hi Friends,

I am new to UNIX. I wonder how can I get the ipaddress of my machine? In windows, i can use ipconfig to get my ipaddress. I am aware of ifconfig but it does not give the ipaddress.

Thanks and regards,
Dinesh Venkatesan.
  #2 (permalink)  
Old 05-06-2008
krishmaths krishmaths is offline
Registered User
  
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 191

Code:
host `hostname`

or
Code:
nslookup `hostname`

or
Code:
/usr/sbin/ping `hostname`

I'm eagerly waiting to learn better ways in this thread
  #3 (permalink)  
Old 05-06-2008
cmsherin cmsherin is offline
Registered User
  
 

Join Date: May 2008
Posts: 1
Quote:
Originally Posted by krishmaths View Post
Code:
host `hostname`

or
Code:
nslookup `hostname`

or
Code:
/usr/sbin/ping `hostname`

I'm eagerly waiting to learn better ways in this thread
Try ifconfig -a
  #4 (permalink)  
Old 05-06-2008
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Quote:
Originally Posted by DineshV View Post
Hi Friends,

I am new to UNIX. I wonder how can I get the ipaddress of my machine? In windows, i can use ipconfig to get my ipaddress. I am aware of ifconfig but it does not give the ipaddress.

Thanks and regards,
Dinesh Venkatesan.
Hi,
Then try one of these
Code:
$ cat /etc/hosts
$ more /etc/hosts
$ vi /etc/hosts

im joking , but what did /sbin/ifconfig say ???
  #5 (permalink)  
Old 06-08-2009
kanaga kanaga is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
hai

It's possible to know your ip address using ip-details .It's useful for you.
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 08:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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