Created
April 11, 2023 04:01
-
-
Save vanduc1102/456916a4e118540db191dc23ec395c82 to your computer and use it in GitHub Desktop.
[MacOS] Kill process is linked to a given port , eg: 3000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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