Created
September 27, 2021 07:19
-
-
Save memandip/59b9505ba70c62c6b9cedc4effbaa316 to your computer and use it in GitHub Desktop.
kill port in mac
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
lsof -P | grep ':PortNumber' | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment