![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
潜伏的猎豹
这个作者很懒,什么都没留下…
展开
-
linux 关闭和启动防火墙
firewall-cmd –state 查看防火墙状态 systemctl stop firewalld.service 关闭防火墙原创 2018-04-02 20:10:26 · 395 阅读 · 0 评论 -
linux下进程号查看和pid查看端口号
我们知道, 根据ps -aux | grep xxx就是很快实现进程名和进程号的互查, 所以我们只说进程号pid就行。 如下示例中, 进程pid常驻。 1. 根据进程pid查端口: lsof -i | grep pid 2. 根据端口port查进程(某次面试还考过): lsof -i:port 3. 根据进程p...原创 2018-05-28 13:51:46 · 48397 阅读 · 0 评论