Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP address

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
The IP address of my Linux box is automatically allocated by a router. When I'm on the Linux box, how do I find out what address has been allocated to it?

The commands I used to use on Solaris like /usr/sbin/ifconfig and /usr/sbin/ipconfig do not exist on Linux.
 
its /sbin/ifconfig on my box.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Also, normally "ifconfig" is not in the search path
( /sbin/ ) for regular users. Sometimes it cannot be run by non-root users. It depends upon the distro, but I assure you it's there....

D.E.R. Management - IT Project Management Consulting
 
Yes - it is there. /bin is the same as /usr/bin but /sbin is different from /usr/sbin. Guess it is live and learn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top