Created
July 21, 2015 16:18
-
-
Save edsykes/c82e1a54a8ccbde06ec9 to your computer and use it in GitHub Desktop.
kill all java processes running on port 9000
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
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