Created
September 20, 2016 14:14
-
-
Save anthonycarminati/e6abdb6df6f341c165e40a9f7d1bd2ef to your computer and use it in GitHub Desktop.
Kill a process running on a specific port
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
lsof -i :<place_port_here> |awk '{print $2}'|sort -u |grep -v PID |xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment