The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO get MAC Address jcarter2333 High Level Programming 11 02-08-2007 06:51 AM
How to Achive IP address through MAC(Ethernet) address krishnacins IP Networking 3 08-29-2005 05:45 PM
ce0 and ce1 have the same mac address BG_JrAdmin SUN Solaris 2 07-08-2005 04:30 PM
network address and broadcast address? pnxi UNIX for Dummies Questions & Answers 7 11-10-2003 08:29 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 03-16-2002
Registered User
 

Join Date: Mar 2002
Location: Buenos Aires, Argentina
Posts: 46
the ifconfig and netstat commands are restricted to common users.
try $ cat /etc/hosts

chau
Forum Sponsor
  #9  
Old 03-20-2002
Registered User
 

Join Date: Nov 2001
Posts: 19
reply

U can use userconf to get the ip address
  #10  
Old 03-20-2002
Registered User
 

Join Date: Feb 2002
Posts: 9
Which way is right???

Woe Woe Woe...

You guys got me confused /!\

"ifconfig -a" is fine...

If no IP - "dhcpcd eth0" to get one from your ISP.

Or make up your own "ifconfig eth0 192.168.1.1 up".
  #11  
Old 03-20-2002
Registered User
 

Join Date: Mar 2002
Location: Aix-en-provence (France)
Posts: 3
With pipe commands

Hi,


You can try this...

ifconfig -a | tail -1 | awk '{print $2}'




Nicolas.
France
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:09 AM.


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