Skip to content

Instantly share code, notes, and snippets.

@esausilva
Created August 5, 2017 18:05
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 esausilva/91621c5e63c44a6ca5e1186d2548c6b7 to your computer and use it in GitHub Desktop.
Save esausilva/91621c5e63c44a6ca5e1186d2548c6b7 to your computer and use it in GitHub Desktop.

Find running processes

$ ps aux | less

Find process running in a specific port

$ lsof -i tcp:[PORT]

Kill process by PID

$ kill -15 [PID]
$ kill -9 [PID]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment