Created
July 11, 2018 18:32
-
-
Save weeksdev/7ddddc40c9a831a6a3b301d4b5658a60 to your computer and use it in GitHub Desktop.
Kill a process on a port
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 :{PORT_NUMBER} | |
kill -TERM {PID} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment