Find your IP address with ifconfig


You can find the IP address of your system at the command line by using the ifconfig command. The ifconfig command will show you information on all your network interfaces. If no arguments are given ifconfig displays the status of the currently active interfaces.

You have to run this command as root or use sudo.

Your IP address is displayed in the inet addr field.