Skip to content

Instantly share code, notes, and snippets.

@vanduc1102
Created April 11, 2023 04:01
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 vanduc1102/456916a4e118540db191dc23ec395c82 to your computer and use it in GitHub Desktop.
Save vanduc1102/456916a4e118540db191dc23ec395c82 to your computer and use it in GitHub Desktop.
[MacOS] Kill process is linked to a given port , eg: 3000
ps aux | grep -i 3000 | grep -v grep | awk {'print $2'} | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment