Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill port 8000 mac

lsof -P | grep ':PortNumber' | awk '{print $2}' | xargs kill -9

Replace PortNumber with the actual port that you want to kill
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #kill #port #mac
ADD COMMENT
Topic
Name
5+2 =