Linux 一条命令杀死占用端口的所有进程

kill -9 $(lsof -i:端口号 -t)

 

posted @ 2019-01-23 16:04  一壶酒---  阅读(502)  评论(0)    收藏  举报