Posted By

wolfie on 01/22/07


Tagged

processes Ports


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

basicmagic
willcodeforfood


How to see what processes are listening on which ports


 / Published in: Bash
 

  1. # netstat -anpt

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: adulau on January 22, 2007

the 't' is for TCP. If you want to see the listening ports in UDP, just replace 't' with 'u'. That works under GNU/Linux but not with all the unixes.

You need to login to post a comment.