Created
November 9, 2015 15:10
-
-
Save jaxgeller/0b8329c2d4c01ba513c1 to your computer and use it in GitHub Desktop.
Kill by port number
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
kill -9 $(lsof -i:PORT | xargs | awk '{print $11}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment