Created
February 17, 2009 21:32
-
-
Save mileszs/65992 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # List all listening ports together with the PID of the associated process | |
| sudo netstat -plunt | |
| # -p Tell me the name of the program and it's PID | |
| # -l that is listening | |
| # -u on a UDP port. | |
| # -n Give me numeric IP addresses (don't resolve them) | |
| # -t oh, also TCP ports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment