Open up a terminal andd..

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

 

Categories: Linux

Leave a Reply

%d bloggers like this: