advanced code snippet search
wolfie on 01/22/07
2 people have marked this snippet as a favorite
# netstat -anpt
Report this snippet
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.