Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill port

kill -9 $(sudo lsof -t -i:'portName')
//Ex. if portname is 3000
//then we will execute "kill -9 $(sudo lsof -t -i:3000)"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kill #port
ADD COMMENT
Topic
Name
2+6 =