Well, if you mean your IP address on your local network:
will return all current network interfaces, with all relevant info.
dave@dave:~$ ifconfig | grep inet
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
inet addr:192.168.1.10 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::219:d2ff:fe88:b87f/64 Scope:Link
is more specific, and for me the relevant line in the output is the third line, with the IP address!
Hope that helps.