Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to find and kill a running process on a port in mac

sudo lsof -i :<port> 
kill -9 <PID>
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #find #kill #running #process #port #mac
ADD COMMENT
Topic
Name
9+2 =