shell script
啦啦啦小画家
这个作者很懒,什么都没留下…
展开
-
shell vim command
# 安装 apr 和 apr-utils cdapr-1.4.6 && ./configure&& make && make install && cd../apr-util-1.5.2&& ./configure --with-apr=/usr/local/apr && m...原创 2019-03-13 14:56:26 · 392 阅读 · 0 评论 -
shell basic usage
${变量-预设值} 变量不存在输出后面的预设值,变量存在输出本身的值 1: unset aa 2: r=${aa-"Naas"} 3: echo $r result : Naas 1: aa=ose2 2: r=${aa-"Naas"} 3: echo $r result : ose2 分辨不存在和空值的差异 1: unset var ...原创 2019-03-22 11:24:13 · 87 阅读 · 0 评论