In this post we will see How to Find the IP Address in Linux . Here we will be looking at step by step process to Find the IP Address.
1.There are several ways to do that. if you just type $ip address
it will show you the interfaces.You can see the IP address beside inet line.
![](http://www.codebind.com/wp-content/uploads/2021/12/Screenshot-from-2021-12-06-16-37-40-1024x576.png)
2.ip address command has some shortcuts as well . $ ip a
or $ ip addr
both will give you the exact same result as $ ip address
because they are the same command .
3.IP is not the only command you can useto find the IP address of your system .Another good command : hostname - I
; option this will give you just the IP address of your system nothing else. No interfaces information nothing else .
![](http://www.codebind.com/wp-content/uploads/2021/12/Screenshot-from-2021-12-06-16-42-33-1024x576.png)
4.There’s another way to get your IP and that is using the network manager .The network manager has a command line version called nmcli and you can use it to show the device interface and in the output you will find the Gateway information and the version 4 of IP address .Command : nmcli -p device show
![](http://www.codebind.com/wp-content/uploads/2021/12/Screenshot-from-2021-12-06-16-45-10-1024x576.png)
In this way you can find your IP address.
Leave a Reply