Skip to content

Instantly share code, notes, and snippets.

@tosbourn
Created October 22, 2014 08:40
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 tosbourn/35092eb714203eaa75e6 to your computer and use it in GitHub Desktop.
Save tosbourn/35092eb714203eaa75e6 to your computer and use it in GitHub Desktop.
Kill off any process on :5000
lsof -wni tcp:5000 | awk 'NR>1{kill -9 $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment