Skip to content

Instantly share code, notes, and snippets.

@edsykes
Created July 21, 2015 16:18
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 edsykes/c82e1a54a8ccbde06ec9 to your computer and use it in GitHub Desktop.
Save edsykes/c82e1a54a8ccbde06ec9 to your computer and use it in GitHub Desktop.
kill all java processes running on port 9000
lsof -i -n -P | grep "java.*9000" | cut -c 11-16 | uniq | kill $(xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment