Get IP address

Posted on 2005-03-02
Medium Priority
Last Modified: 2013-12-27
I have a Solaris 8 server. How do I get its IP address from the console?
Question by:yongsing
  • 3
LVL 58

Accepted Solution

Pete Long earned 200 total points
ID: 13437849
ifconfig -a

should give you the IP address of every interface :)
LVL 58

Expert Comment

by:Pete Long
ID: 13437854
from http:Q_20770413.html#9626744
"netstat -i" display all the network interfaces you have
"ifconfig <interface>" shows all the parameters for the asked interface
"ifconfig -a" display params for all interfaces (but not all UNIX variants support "-a")

Author Comment

ID: 13447382
Thanks, it works.
LVL 58

Expert Comment

by:Pete Long
ID: 13450052

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question