How to check ip address in Linux
you can check the ip address in Linux by the command ifconfig
ifconfig lists all the network interfaces on your system. if you have just one network card than it is usually named as eth0 and the IP address associated with eth0 will be you IP address
If you are connecting the the internet via a router or a home gateway than the IP address of from the ifconfig command will be the IP assigned to you via the router.
If you need to find out your global IP address i.e. the IP by which you are talking to the internet than you can find it out from a website like http://www.connectionspeedtest.net/findipaddress.php