随笔分类 -  vim

摘要:#!/bin/bash for ip in {1..254} do { ping -c 1 10.122.138.$ip } if [ $? -eq 0 ]; then echo 10.122.138.$ip UP >>/root/a.txt else echo 10.122.138.$ip DOW 阅读全文
posted @ 2021-09-14 00:09 拥抱大海,面向天空 阅读(135) 评论(0) 推荐(0)