How to check machine IP in Unix?  

Sunday, April 12, 2009

Use the command 'ifconfig -a'

: /etc>ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 9.100.90.140 netmask fffffe00 broadcast 9.100.90.255


The highlighted IP (9.100.90.140) above is the IP of the machine.

AddThis Social Bookmark Button
Email this post


Design by Amanda @ Blogger Buster