Thursday, March 26, 2009

UNIX: Listing Used Ports

This will list used ports on a server along with the interface it is bound to.

# netstat -an | grep LISTEN | awk '{print $1}'

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home