What is the command to check ports active in UNIX?

Answer Posted / manimaran

netstat -a | grep port no.

this will list down all the host which are connected to the particular port

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does find command return in unix?

592


What's a command word?

588


What are the unix commands?

557


Explain how to use grep command to list find the records of a file containing 10 different strings?

593


how to sort the content of the file based on numeric values

1250






How do I clear my terminal history?

584


What is the difference between grep and grep?

566


What is the use of tee command?

569


What is the command to compare two files in unix?

618


What is the use of awk command in unix?

581


Does cp command overwrite files?

620


What does the md command do?

570


What is the comma to show the space allocation of files?

558


What is awk used for?

618


Why is it called a shebang?

570