Skip to content

Instantly share code, notes, and snippets.

@zjr
Created March 1, 2017 19:31
Show Gist options
  • Save zjr/63958bb85cf825bc42a3ad67f3c336b1 to your computer and use it in GitHub Desktop.
Save zjr/63958bb85cf825bc42a3ad67f3c336b1 to your computer and use it in GitHub Desktop.
command chain for killing node on a port
lsof -i :5093 | awk '$1 == "node" {print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment