Answers for "how to kill a service based on port number on mac"

0

how to kill a service based on port number on mac

lsof -P | grep ':PortNumber' | awk '{print $2}' | xargs kill -9
Posted by: Guest on February-24-2021

Code answers related to "how to kill a service based on port number on mac"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language