http://linux.vbird.org/linux_basic/0340bashshell-scripts.php

http://4554480.blog.51cto.com/4544480/837006

http://blog.csdn.net/ithomer/article/details/6836382   shell运算符

http://luxiaok.blog.51cto.com/2177896/925548  shell例子

http://blog.csdn.net/guodongxiaren/article/details/38402577  玩转Bash脚本:变量基本概念及其初始化

http://c.biancheng.net/cpp/view/2739.html    特殊变量

 

1、sh -x test.sh     "-x"选项可用来跟踪脚本的执行,是调试shell脚本的强有力工具

2、赋值两边不能有空格

3、等于判断两边必须有空格

posted on 2016-09-27 17:05  妞溜溜  阅读(56)  评论(0)    收藏  举报