![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
rd9944
这个作者很懒,什么都没留下…
展开
-
shell实例
jiqi=(01 02 03 04 05 06 07 08 09 10 11 12 13 14) for((d=4;d do year=`date --date="$d day ago" +%Y` month=`date --date="$d days ago" +%m` day=`date --date="$d days ago" +%d` for((i=0;i do原创 2014-10-23 12:15:31 · 276 阅读 · 0 评论 -
shell 常用命令
shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时返回真 -f 当file存在并且是正规文件时返回真 -g 当由pathname指定的文原创 2014-10-23 12:14:44 · 278 阅读 · 0 评论 -
xargs
以前看了xargs的一些介绍,始终不得要领,原来是我理解错了,xargs是将上一步的输出当做 下面命令的 “参数”。原创 2015-01-10 15:38:58 · 258 阅读 · 0 评论