📌  相关文章
📜  杀死所有持有端口的进程 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:04.453000             🧑  作者: Mango

代码示例3
#list process running on specified port (here 80, change to your port)
sudo lsof -i:80

#kill process on specified port (here 80, change to your port)
sudo kill $(sudo lsof -t -i:80)