Created
March 17, 2023 08:58
-
-
Save wk-j/d8531c6c91a638e3309b856d343a1e30 to your computer and use it in GitHub Desktop.
Kill process using port 7022 in macOS
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 :7022 | grep LISTEN | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment