How to determine the IP address of a Solaris system

James Adams picture James Adams · Mar 31, 2009 · Viewed 182.3k times · Source

What command do I want to issue when I want to know the IP address of the Solaris machine I'm logged onto?

Answer

Andrew picture Andrew · Mar 31, 2009

If you're a normal user (i.e., not 'root') ifconfig isn't in your path, but it's the command you want.

More specifically: /usr/sbin/ifconfig -a