/ Published in: Bash
Expand |
Embed | Plain Text
# netstat -anpt
Comments
Subscribe to comments
You need to login to post a comment.
wolfie on 01/22/07
2 people have marked this snippet as a favorite
# netstat -anpt
Subscribe to comments
You need to login to post a comment.
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.