In the above output, you can ignore the first one called lo (loopback). Link/ether 9c:b6:d0:d0:fc:b5 brd ff:ff:ff:ff:ff:ff ip command is versatile and can be used for several other things related to networking.īut just to show the IP address, use the command with ip addr, ip a or ip address options (all are the same) in the following manner: ip addressĪnd you will see an output like this: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 Well, you can use the ip command for this purpose. You may wonder how do I find my IP in Linux then? Let me show you that. If you try to use this command today, you are most likely to see the following error: command not found: ifconfig Unfortunately, ifconfig command has been deprecated. A Few years back, ifconfig was the favorite way to know IP address in Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |