Created
June 26, 2025 15:18
-
-
Save petergi/9af69a415ef64b51d7bf449bb75b51ad to your computer and use it in GitHub Desktop.
Kill whichever process is running on the given port
This file contains hidden or 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
# Kill the process running on a port | |
lsof -t -t:port 1 xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment