![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
ellieokokok
it
展开
-
Linux命令
文章目录如何杀死占用指定端口的进程在Linux shell脚本中,比如有个a.sh , ./a.sh 和 sh a.sh 和 source a.sh 有什么区别?adb命令查看内存使用情况 如何杀死占用指定端口的进程 1)用lsof查看占用端口的进程号:lsof -i:端口号 2)kill掉占用进程: kill -9 进程号 一条指令: sudo kill -9 $(lsof -i:端口号 ...原创 2020-03-17 22:38:26 · 94 阅读 · 0 评论 -
Linux
Linux命令 如何杀死占用指定端口的进程 1)用lsof查看占用端口的进程号:lsof -i:端口号 2)kill掉占用进程: kill -9 进程号 一条指令: sudo kill -9 $(lsof -i:端口号 -t) 在Linux shell脚本中,比如有个a.sh , ./a.sh 和 sh a.sh 和 source a.sh 有什么区别? ./a.sh意思是执行当前目录的a....原创 2020-03-09 16:00:39 · 258 阅读 · 0 评论