文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>一个非常有启发的shell脚本(方法)

一个非常有启发的shell脚本(方法)

时间:2008-09-02  来源:pop_star

#!/bin/bash color(){
case $1 in
    cyan)
       echo -en '\033[31m'
       ;;
    green)
       echo -en '\033[32m'
       ;;
esac
  if [ ! -z "$2" ] ;then
 echo -ne $2
 echo -e '\033[0m'
fi
}
color green "Refresh lib cache \t"
相关阅读 更多 +
排行榜 更多 +
饼干消除无限金币

饼干消除无限金币

休闲益智 下载
儿童左右脑大训练游戏

儿童左右脑大训练游戏

休闲益智 下载
宝宝巴士森林动物动物世界(Friends of the Forest)

宝宝巴士森林动物动物世界(Friends of the Forest)

休闲益智 下载