Search code examples
unixnetwork-programmingip-addresssolarisip

How to determine the IP address of a Solaris system


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


Solution

  • 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