摘要: 一、用于shell脚本的界面命令交互 echo "请输入css-dist下载地址:" read addcss echo "开始下载css的zip包"( wget $addcss ) >> /dev/null上述等价于:( wget http://****************-bin.zip... 阅读全文
posted @ 2014-11-07 13:33 患.者 阅读(151) 评论(0) 推荐(0) 编辑
摘要: linux_if 参数shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时返回真 -f 当file存在并且是正规... 阅读全文
posted @ 2014-11-07 11:15 患.者 阅读(206) 评论(0) 推荐(0) 编辑