Linux
赴梦、
这个作者很懒,什么都没留下…
展开
-
Linux查看端口、进程PID、杀死进程等命令
查看端口使用情况 netstat -tunlp 查看所有进程 ps -ef 搜索需要的进程,获取其PID ps -ef|grep “搜索的内容” 根据杀死PID进程 kill -9 [PID]原创 2022-05-06 16:33:37 · 663 阅读 · 0 评论 -
linux 防火墙相关参数和命令
linux防火墙查看状态firewall、iptable 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 service iptables stop 启动防火墙 service iptables start 重启防火墙 service iptables restart 永久关闭防火墙 chkconfig iptables off 永久关闭后重启 chkconfig iptables on 2、开启80端口 vim /etc/sysconf转载 2022-05-06 16:29:28 · 412 阅读 · 0 评论