
shell
f776527249
这个作者很懒,什么都没留下…
展开
-
linux crontab 简单使用
crontab -l 查看所有 任务 10 * * * * (cd /home/co_family/st_stat/ranat; sh log_ct.sh >> /home/coesmily/swstat/rantat/logs/log_ect.log) 1、5个星号:分(1~59)|时(1~23)|日(1~31)|月(1~12)|周(0~6) ...原创 2011-09-08 09:26:59 · 147 阅读 · 0 评论 -
Shell编程基础
#!/bin/sh 变量赋值和引用 #Object Assignment studentName="leiwuluan"; score=111; echo "$studentName score is $score"; if 语 句 #shell if...then else tom="boy"; jierui="girl"; if [ "$tom" =...2011-07-14 11:47:47 · 103 阅读 · 0 评论