?
Solved

check ip on machine

Posted on 2002-07-25
7
Medium Priority
?
228 Views
Last Modified: 2013-12-27
How do u check for ip assigned to a machine with solaris?
0
Comment
Question by:mafiq
7 Comments
 
LVL 4

Accepted Solution

by:
Otetelisanu earned 80 total points
ID: 7176973


1.    grep `hostname` /etc/hosts
or
2. ifconfig -a
0
 

Author Comment

by:mafiq
ID: 7177040
thanks

will give it a try
0
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 7177178
3. ping -s `hostname`
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:mafiq
ID: 7177214
thanks

will give it a try
0
 
LVL 2

Expert Comment

by:jonke
ID: 7179850
or netstat -in
0
 
LVL 21

Expert Comment

by:tfewster
ID: 8094201
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by Otetelisanu

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 8144377
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
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.

589 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