linux常用命令

查看某个端口进程
lsof -i:端口号
netstat -tunlp | grep 端口号
结束某个进程
kill -9 pid

posted @ 2023-09-14 16:47  道之缘  阅读(4)  评论(0编辑  收藏  举报