Created
October 31, 2016 11:33
-
-
Save uhtred/2e64554f8f45229189bf08cc1ada50df to your computer and use it in GitHub Desktop.
SH: 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
killport(){ | |
sudo kill -9 $(sudo fuser -n tcp $1 2> /dev/null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment