[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command to see ip address on etch stable



On Thu, 23 Aug 2007, Ken Irving wrote:

On Thu, Aug 23, 2007 at 04:02:46PM -0500, Michael Kerwin wrote:
Is there a command on debian etch stable that you can run to see what ip address you are?

The command ifconfig can be used, but note that by default it's not in a
regular user's path, so use /sbin/ifconfig.  This will show the settings
for each interface; you can alternatively specify the interface you want
to see, e.g,.

 $ ifconfig eth0

If you're behind a NAT router (or even if not), there are websites that
can show you the Internet IP you're on, e.g., perhaps checkmyip.com.

Ken

--
Ken Irving, fnkci+debianuser@uaf.edu


There is also :
ip addr show

ip is part of the iproute package as well.

Jeff
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.



Reply to: