06 2012 档案

摘要:今天看学习了getopets总结下结果:作用:用这个东东可以打命令一样 <命令 -选项 参数>#!/bin/bashwhile getopts xyz: args 2> /dev/nulldo case $args in x) echo " you entered -x";; y) echo " you entered -y";; z) echo " you entered -z"; echo " \$OPTARG is $OPTARG ";; \?) e... 阅读全文
posted @ 2012-06-29 20:50 tywei 阅读(312) 评论(0) 推荐(0)
摘要:http://mirrors.ustc.edu.cn/fedora/epel/5/i386/epel-release-5-4.noarch.rpmhttp://rpms.famillecollet.com/enterprise/remi-release-5.rpm 阅读全文
posted @ 2012-06-19 15:37 tywei 阅读(298) 评论(0) 推荐(0)
摘要:挺郁闷 的,,手工可以执行,但放在cron里就不行,错误日志:上网查了一下,原来是权限问题。解决方法为:chmod 0600/var/spool/cron/root然后再重启一下crond,问题解决 阅读全文
posted @ 2012-06-01 10:09 tywei 阅读(111) 评论(0) 推荐(0)