摘要: 一、方法 1. 使用命令 netstat [-acCeFghilMnNoprstuvVwx][-A<网络类型>][--ip] 2. 脚本 (1) 创建 vi test.sh (2) 初始化 if netstat -an | grep "$1" | grep -i listen >/dev/null 阅读全文
posted @ 2023-07-29 20:46 白马黑衣 阅读(481) 评论(0) 推荐(0) 编辑