Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill processes on port 80

sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #kill #processes #port
ADD COMMENT
Topic
Name
3+3 =