Hello and welcome to the Linux V channel today, we are going to see how to check the IP address of the ubuntu machine
So basically any machine or any laptop desktop or your uh mobile
which accesses the internet by connecting to the uh servers, uh different servers and uh internet
So that has some unique IP a uh unique address uh assigned to AD machine
So that address is called as a IP address, which normally is uh for the local uh network
It is starts with 1 92.1 68 dot uh something, not something
So it's like a four uh digit. Uh You can see the IP addresses
it says R. So here in Linux, uh there is a command called IP I
F config. So normally in uh windows, if you are a uh uh previously a Windows user
you will see that you may have seen uh type the command IP config onto the Windows terminal
Similarly, in Linux, it is called as uh I config. So now uh we
we will try it for the first time by uh entering this command
Uh whether we see it the IP address of our uh this machine
So we, we entered this command. But unfortunately, uh this I uh I config command is not available
onto uh this machine because it is uh fresh to install. So we have to install this uh net tools
package. So we will go ahead and install the net tools package
So now it is uh installing. So once this is installed, as we can see it here
the installation is in progress of need tools package now. Yes, now it is done
So let us see what uh the information of uh I config command is available
As you can see it here, I config is used to configure the network interfaces
So I config is normally used for mostly frequently used for checking the
IP addresses. But there are a lot of other things we can do using this IP config command
So as we can see it here, it's it can be used to compute the network interfaces and change a lot of things
So all of the information is available here so you can use and you can try out those options in the as
we can get. Now, let us try and see what is the IP address
So we entered here the I and now we can see it here that we have two interfaces
Uh total three interfaces are visible on to uh as the output of this iconic command
You can see it here in P 20 is our Ethernet port
So currently we are connecting over the wifi. So you can, you can see that it
there is no IP address assigned here. The next one is the local look back uh uh put
And the third is you can see it here. It's a W LP three S zero
which is our wireless internet, which we are using to uh connect
to the local network using the wifi. So now here you can see it easily that uh IP address is available
here. You can see it to 1 92.1 68.1 dot two and the net mask is this one and the broadcast
is 1 92 1 68 2125. So that's it. How you can see the IP addresses
using config command. So you can also pass the options like this config hyphen A to get some
more details. But the most important with this video, what we tried to find it out is how to get the IP address
you know, in the Linux or U two using the iconic command
Thank you for watching. Uh We'll see you in the next video