迷茫的小孩

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年1月7日

摘要: 举例 #!/bin/sh myFile="/var /log/httpd/access.log" if [ ! -e "$myFile" ]; then touch "$myFile" fi -e和-f的区别是,-f代表常规文件(regular file),-e代表所有任何类型文件参考如下:-e f 阅读全文
posted @ 2017-01-07 16:37 迷茫的小孩 阅读(795) 评论(1) 推荐(0) 编辑

摘要: 两个都是获取stdin,并在EOF处结束stdin,输出stdout。 但是<<-是什么意思呢? 先来看man中的说明: If the redirection operator is <<-, then all leading tab characters are stripped from inp 阅读全文
posted @ 2017-01-07 15:51 迷茫的小孩 阅读(41345) 评论(2) 推荐(6) 编辑

2014年11月28日

摘要: bugfree团队早已不做支持,转作禅道管理了,关于其中恩怨可以参见http://www.bugfree.cn/组里同事要用此做管理,所以写此文档,以备后用=====================================================================(系统... 阅读全文
posted @ 2014-11-28 22:30 迷茫的小孩 阅读(264) 评论(0) 推荐(0) 编辑

2014年11月25日

摘要: 最近一直在用Juno版本,因为项目需要,今天在虚拟机里安装了Icehouse版,其中glance组件在执行安装的过程后,出现启动失败的现象,幸好以前排查过此类错误,遂记录如下:在官方文档(Icehouse)中“ConfiguretheImageService”一章中,第4步:createthedat... 阅读全文
posted @ 2014-11-25 10:39 迷茫的小孩 阅读(422) 评论(0) 推荐(0) 编辑

2014年11月19日

摘要: 最近组里要做opendove相关的东西,需要odgw的一个kernel-module。以前安装过,但备份不见了,在此做个链接备忘 :https://git.opendaylight.org/gerrit/#/c/8185/ 阅读全文
posted @ 2014-11-19 22:38 迷茫的小孩 阅读(2988) 评论(0) 推荐(0) 编辑