How To Find Your IP Address In Linux
The Following Steps can be applied to any Linux Desktop with Bash. This includes Gnome 2, Gnome 3, XFCE, KDE and Unity. This example I am using Ubuntu with the Unity desktop enviorment. If you need help on how to launch a terminal please visit the following links for your desktop.
Once we have a terminal window open we just need to issue a single command. This is very similar to the windows ipconfig command. It will show you your IP Address as well as other information on all your network devices.
Type ifconfig -a
(Note: With Linux commands are case sensitive. Make sure it is all lowercase.)
You should now see information on your network cards. In this example you can see that device eht0 has an ip address of 192.168.96.120.
You may also notice a device called lo with the IP Address of 127.0.0.1. This is the local loop back address. All computers have this address and something you should not need to worry about.
If you enjoyed this post, please share it on your favorite social network by clicking on the “Share / Save” bar below.