Skip to content

Instantly share code, notes, and snippets.

@ryanseys
Created May 24, 2015 19:44
Show Gist options
  • Save ryanseys/f5d2111be239e94c1a6c to your computer and use it in GitHub Desktop.
Save ryanseys/f5d2111be239e94c1a6c to your computer and use it in GitHub Desktop.
Kill processes using a particular port
lsof -P | grep ':8080' | awk '{print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment