Wednesday, January 12, 2011

How to check my ip in Linux

In my next exercise, I have to know my IP. In order to know my IP, use the command:

$ifconfig -a

The inet addr under eth0 is my IP address. It's the IP behind router, not to the public.

No comments: