随笔分类 -  Bash

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) 推荐(0)
Bash 文本处理练习
该文被密码保护。
posted @ 2011-08-11 17:11 xunya 阅读(5) 评论(0) 推荐(0)
SHELL技巧之批量创建目录
摘要:shell 阅读全文
posted @ 2011-06-17 17:10 xunya 阅读(499) 评论(0) 推荐(0)