Chinaunix首页 | 论坛 | 博客
  • 博客访问: 71033
  • 博文数量: 44
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2016-09-19 16:49
文章分类

全部博文(44)

文章存档

2018年(2)

2017年(1)

2016年(41)

我的朋友

发布时间:2016-04-29 17:23:01

[t@bjb0541 ~]$ cat a ter terc [t@bjb0541 ~]$ grep 'ter.' a  terc[t@bjb0541 ~]$ grep -E 'ter.' a  terc匹配位于结尾的字符串时,由于'.'不匹配换行符,所以ter这一行不会被匹配到.这是一个特殊实例.......【阅读全文】

阅读(908) | 评论(0) | 转发(0)

发布时间:2016-04-29 17:22:37

上次的版本http://blog.chinaunix.net/uid-21142030-id-5613029.html点击(此处)折叠或打开[10:58 t ~]$ cat rsync.t #!/usr/bin/env bash#set -x#2015-08-18:    修复直接压缩201目录的bug#2015-09-28: &nb.........【阅读全文】

阅读(823) | 评论(0) | 转发(0)

发布时间:2016-04-29 17:21:17

linux shell 数组建立及使用技巧linux shell在编程方面比windows 批处理强大太多,无论是在循环、运算。已经数据类型方面都是不能比较的。 下面是个人在使用时候,对它在数组方面一些操作进行的总结。 1.数组定义 [chengmo@centos5 ~]$ a=(1 2 3 4 5)[che.........【阅读全文】

阅读(835) | 评论(0) | 转发(0)

发布时间:2016-04-29 17:20:58

#!/bin/bashnow=$(date '+%Y-%m-%d %H:%M:%S') # the time interval between watchdog.sh monitoringssleepTime=5 # log of watchdog.sh monitoringswatchdogLog="./watchdoglog.txt" # current pathcurDir=$(pwd)# ech.........【阅读全文】

阅读(773) | 评论(0) | 转发(0)

发布时间:2016-04-29 17:19:14

......【阅读全文】

阅读(787) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册