Hey, welcome back to this video.
So in this video, we are going to see some of the networking commands that are being used in Linux
operating systems.
So let's quickly begin.
The first command that we are going to see is I f config.
Now this stands for interface configuration and it is going to show us the interfaces that are being
connected to our operating system.
So let's hit enter and let's see what do we get?
And you can see over here we have different interfaces like 88, zero, 81 and L oh which is the loopback
adapter.
Now 88 zero is basically the first adapter into your operating system.
And the IP address that has been assigned to your computer is represented over here by iiNet.
And you can see this is the IP address that has been assigned to my operating system.
Now you can add as many as network adapters you want to your computer.
So I've already added one more.
But there is no IP address assigned to this particular network adapter as this has been disconnected
currently and I'm using the ETA zero.
So this is one of the way seeing the network adapters, seeing the IP address, you can also check your
hardware address, which is also called as ether, which is your Mac address.
All right.
So that is one more command to see the similar output which is used, which is IP a.
Now by typing this command, you are able to see a lot of adapters into your computer.
Yes, you can see over here, we can see it at zero 81.
You can see Docker, etc..
Now this gives exactly the same output, but you can always utilize both of the commands.
There is one more way to do that.
You can type IP space AD and it is going to give you the same output which you can see onto your terminal.
Now this is handy in case you want to know your IP address, in case you want to know your hardware
address, subnet mask, etc..
So I hope you guys understood this.
Let's see one more thing in which in case you want to see a specific IP address for us, specific network
adapter or driver.
So for that, you can simply type IP or space show device and the device name and hit enter.
And you can see over here we have got the ETA zero, the adapter that has been connected and you can
see the init, the IP address that has been assigned to this and you can see other details as well in
case you want to see details for next adapter or any other adapter.
You can also see that currently this adapter is inactive, hence there is no IP address which has been
assigned to this one.
So I hope you guys understood how to check your IP address using three different ways.
Thank you.