find server ip address

To find a server IP address

ifconfig eth0 | grep inet | awk '{ print $2 }'
Sandheep