Created
June 10, 2015 15:28
-
-
Save edsykes/8ebcbf93588277eb4f40 to your computer and use it in GitHub Desktop.
kill all processes listening to 5900-5909
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 | grep "590.* (LISTEN)" | cut -c 12-16 | uniq | kill $(xargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment