Answers for "terminal kill ports"

50

kill port

sudo kill -9 `sudo lsof -t -i:9001`
Posted by: Guest on May-03-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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language