ping 脚本实例
摘要:#!/bin/bash# This script is used to test the status of a segment of the host alive# Edit Liwanhong 2011.08.11PATH=/usr/bin:/usr/sbin:$PATHexport PATH##Define the state of colorCOLOR_UNKNOW=$(echo -e "\033[31m Unknow \033[m")COLOR_ALIVE=$(echo -e "\033[32m Alive \033[m")IP="1
阅读全文
posted @
2011-08-12 11:22
xunya
阅读(220)
推荐(0)