![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
API
itdragons
独立思考
展开
-
Linux常用命令
1.查看防火墙对外开放了哪些端口 由于centos版本不同,开启端口号方式也不一样,centos6是iptables,centos7是firewall。 iptables -L -n 2.开启防火墙某些端口 有两种方式:一种是命令方式,一种是修改配置文件方式 查看防火墙状态:service iptables status 开启防火墙(重启后永久生效):chkconfig iptabl...原创 2019-06-25 16:17:12 · 130 阅读 · 0 评论 -
windows 常用脚本
复制文件夹全部内容,并覆盖 xcopy源目录目标位置/e /y 查看占用端口的进程 Netstat -aon|findstr PORT 结束进程 taskkill /f /t /im PID原创 2019-08-21 23:39:35 · 1211 阅读 · 0 评论