Created
March 6, 2017 21:21
-
-
Save hezhao/96ef6404bd871b0d911acb235999a697 to your computer and use it in GitHub Desktop.
Linux and Mac common commands
This file contains 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 which process is listening upon port 5000 | |
$ lsof -i :5000 | |
# kill command with PID 12345 | |
$ kill -9 12345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment