answersLogoWhite

0

Via the command line, type:

/sbin/ifconfig

By default, it will show every network device. Since many Linux systems use eth0 as the default network device, you can optionally type the following to view just that one:

/sbin/ifconfig eth0

Under each network device will be 'inet addr' or 'inet6 addr' depending on how you've configured your system. Next to it is the IP address.

If you're connected via LAN or router you may want to find your external (public IP). It could be done simply from command-line as:

curl smart-ip.net/myip

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you redirect an IP address in Linux?

swagg


What utility would you use on a Linux Operating system to find your IP address?

type on a Linux terminal: ifconfig Note: it is ipconfig in Windows.


Explain what an IP address in Linux?

An IP address is the same thing whether you use Linux, Windows, OS X, Haiku, ReactOS, DOS, UnixWare, etc. An IP address is a "unique" identifier for a host on a network.


How do you set up the ip address of lan card in Linux?

ifconfig <if device> inet <ip address>


Using command prompt how do you find your ip address?

Answer In the Windows command prompt, type "ipconfig". That will list basic information, including your IP address, of all your network interfaces. Be warned this will only return you your local IP address. That means if you're on a LAN, then you'll get the IP address of that network and not your WAN IP address. *************************** Note: It is "ifconfig" on a Linux operating system.


How do you request an IP address from a DHCP server in Linux?

1. dhclient -r This releases the current IP address lease 2. dhclient This requests a new IP address.


How do you find your ip address code?

windows: type ipconfig in cmd shell linux: type ifconfig in cmd shell


How do you find the ip address?

If you want to find your IP address,visit Ip-details.com .


How can you find out their IP address?

If you want to find your IP address,visit Ip-details.com .


How can you find their own IP address?

I use Ip-details.com to find my IP address.


How do you find location address with IP address?

If you want to find IP address location,visit Ip-details.com .


How do you get the IP address in Linux?

Run /sbin/ifconfig or on the terminal jst type: ifconfig -a