Getting an IP address can be useful for many different applications or for troubleshooting efforts. Getting one in Ubuntu is just as easy as Windows. So lets get started.
How do to it
First you need to go to the terminal. It is very similar to the command prompt for windows, but the commands are slightly different. to get to it go to the Applications menu down to Accessories then click on Terminal.
The Terminal will open and look like this:
Don’t be afraid, the Terminal, just like the command prompt, is your friend and is easy to use. You just need to remember the commands. Luckily we have the internet so we don’t have to remember that many. Anyways back to business, to get your IP address you need to type in this command:
ifconfig
If you enter that command in the Terminal you should have gotten something similar to this:
Your IP address is the line that states inet addr: followed by a number with periods in it. Yours will not look like mine, I deleted min so nobody would try anything fancy. Now that you have your IP address you can do some troubleshooting or some other stuff.









useful information thanks