In this article let’s discuss about How to get ip address linux. Let’s go through the following methods without any delay.
#private ip hostname -I or ifconfig or ip addr show #public ip curl ifconfig.me
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!
Method 2 :
Hope the above solution works.
Realted Posts : Git clone in colab using the private repo