Created
January 11, 2018 19:02
-
-
Save bc-jasond/6cfee9b22e3777403257d63451fffdf6 to your computer and use it in GitHub Desktop.
killport
This file contains hidden or 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
| function killport() { | |
| kill -kill `lsof -t -i tcp:$1` | |
| } | |
| export -f killport |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment