摘要: 获取 windows主机名, 更新hosts 文件 #!/bin/bash # 获取 Windows 主机的 IP 地址 WINDOWS_IP=$(nmblookup anxin755 | grep -oP '(\d+\.){3}\d+' | head -n 1) # 更新 /etc/hosts s 阅读全文
posted @ 2025-03-13 16:51 AI健康 阅读(85) 评论(0) 推荐(0)