Skip to content

Instantly share code, notes, and snippets.

@edsykes
Created June 10, 2015 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsykes/8ebcbf93588277eb4f40 to your computer and use it in GitHub Desktop.
Save edsykes/8ebcbf93588277eb4f40 to your computer and use it in GitHub Desktop.
kill all processes listening to 5900-5909
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