Skip to content

Instantly share code, notes, and snippets.

@bc-jasond
Created January 11, 2018 19:02
Show Gist options
  • Select an option

  • Save bc-jasond/6cfee9b22e3777403257d63451fffdf6 to your computer and use it in GitHub Desktop.

Select an option

Save bc-jasond/6cfee9b22e3777403257d63451fffdf6 to your computer and use it in GitHub Desktop.
killport
function killport() {
kill -kill `lsof -t -i tcp:$1`
}
export -f killport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment