Answers for "kill all port cmd"

1

kill all process at port

lsof -ti tcp:2525 | xargs kill
Posted by: Guest on November-06-2020
0

kill all ports

kill PID
kill -s signalName PID
kill -signalName PID
kill -signalNumber PID

# get PID > run this command
sudo ss -tulpn | grep LISTEN

# Source
https://www.cyberciti.biz/faq/unix-kill-command-examples/
Posted by: Guest on June-05-2021

Browse Popular Code Answers by Language