![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux && shell
rd9944
这个作者很懒,什么都没留下…
展开
-
shell 常用命令。。。ing
shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时返回真 -f 当file存在并且是正规文件时返回真 -g 当由pathname指定的文件或目录存在并且设置了S...原创 2013-10-21 14:16:27 · 80 阅读 · 0 评论 -
shell 实例。。。ing
jiqi=(01 02 03 04 05 06 07 08 09 10 11 12 13 14) for((d=4;d /search/odin/resin/WebContent/shellscript/jiankong/$year$month$day.log fi done done -------------------------------------------原创 2013-10-21 14:18:45 · 143 阅读 · 0 评论