Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill traffic to port linux

sudo kill $(sudo lsof -t -i:PORTNUMBER)

# for example
sudo kill $(sudo lsof -t -i:80)
 
PREVIOUS NEXT
Tagged: #kill #traffic #port #linux
ADD COMMENT
Topic
Name
3+7 =