shell编程
wangyile
这个作者很懒,什么都没留下…
展开
-
shell编程常用语句
shell基础#find name#find ../ -name wc*#find modify file time#find ../ -mtime -1 -type f #find mtime modify time atime access time ctime create time + is more than-1 就是1小时以内 +1就是1小...2010-03-05 14:42:26 · 138 阅读 · 0 评论 -
shell 中括号的用法
test , [] , [[]]因为 shell 和我们通常编程语言不同,更多的情况是和它交互,总是调用别人。 所以有些本属于程序语言本身的概念在 shell 中会难以理解。"基本功" 不好, 更容易 "犯困" 了,我就是一个 :-) 。以 bash 为例 (其他兼容 shell 差不多):1. test 和 [ 是 bash 的内部命令,GNU/linux 系统的 coreutils...2010-03-05 14:46:41 · 145 阅读 · 0 评论