Skip to content

Instantly share code, notes, and snippets.

@hezhao
Created March 6, 2017 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hezhao/96ef6404bd871b0d911acb235999a697 to your computer and use it in GitHub Desktop.
Save hezhao/96ef6404bd871b0d911acb235999a697 to your computer and use it in GitHub Desktop.
Linux and Mac common commands
# 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