The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-11-2009
zaxxon's Avatar
zaxxon zaxxon is online now Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,287
You can check it with netstat -a and search for either port name associated with /etc/services or just the portnumber if it is not listed in /etc/services.
You can see stati like ESTABLISHED and others.

To check remote if a port is available or not, you can use nmap. It doesn't say if this port is currently being used though. Just have a loot at it as additional info