How to get IP of linux server

Open up a terminal andd..

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

 

Leave a Reply

Close Menu
%d bloggers like this: