Last active
March 6, 2018 13:25
-
-
Save ErickWendel/1630d8333cef50e833b9be7b91294d63 to your computer and use it in GitHub Desktop.
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
| #Exibir processos de uma porta | |
| PORT=3000 | |
| lsof -i:$PORT | |
| #Matar todos os processos de uma porta | |
| kill -9 $(lsof -t -i:$PORT -sTCP:LISTEN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment