Created
April 11, 2023 10:11
-
-
Save ryodeushii/73ab9d9e5a387d0849873f67acd2fab8 to your computer and use it in GitHub Desktop.
bash snippets
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
# find PIDs by used port and kill | |
sudo lsof -i:8081 | awk '{print $2}' | awk '/[0-9]+/' | uniq -c | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment