shell 批量ping IP地址脚本
首先需要创建ip.txt文件内容是你需要ping的IP一行一个 如: 192.168.1.1 192.168.1.2 192.168.1.3 ... 接下来创建脚本文件ping.sh填写一下内容 #!/bin/bash if [ -f "i...
首先需要创建ip.txt文件内容是你需要ping的IP一行一个 如: 192.168.1.1 192.168.1.2 192.168.1.3 ... 接下来创建脚本文件ping.sh填写一下内容 #!/bin/bash if [ -f "i...