Created
October 23, 2021 16:03
-
-
Save n8rzz/701494e5b2d1ea0cc88cdd4718e628b3 to your computer and use it in GitHub Desktop.
find-and-kill-a-process.sh
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
lsof -i tcp:PORT_NUMBER # list processes using PORT_NUMBER | |
kill -9 PID # kill process with pid PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment