Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine the IP address of a Solaris system [closed]

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

like image 587
James Adams Avatar asked Mar 31 '09 18:03

James Adams


People also ask

How do I find the IP address of ifconfig?

Typically, ifconfig can only be used under a superuser account in your terminal. A list of all your network interfaces will appear. Following the heading of the interface whose IP address you're searching for, you will see a "inet addr:" section containing your IP address.


1 Answers

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

like image 112
Andrew Avatar answered Sep 26 '22 06:09

Andrew