From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Local IP address

Local IP address - Linux Tutorial

From the course: Linux Tips

Local IP address

- [Instructor] When you connect a computer to a network, either through Wifi or Ethernet, the computer is assigned an address on the local network. This address allows it to communicate with other devices on the same network, either to exchange information with them or to send information which they send onto other networks through the internet. So knowing the local IP address of your system is important for troubleshooting and it's useful to know if you need to connect to a service that the system is running. On recent distros, the command we use for this is IP. IP gives us the opportunity to see a lot of information about many kinds of objects and the kind we focus on here is address information. Typing IP address or IPA shows address information about network adaptors on the system. On some systems, there will be al to of adaptors, real and virtual. So let's take a look at the output here and figure out which one has the information we need. The first entry here is the loopback…

Contents