Shell 编程备忘
摘要:
变量使用 1. 定义变量: a=1 变量名=值 等号两端不能有空格 2. 变量值为数字或字符串,字符串 "this is adeom" 'this is a demo',双引号中可以转义使用其他变量 3. 定义只读变量 readonly var1 4. 变量命名以 a zA Z开头可以包含数字下划线 阅读全文
posted @ 2017-05-12 14:08 Eric.Xi 阅读(103) 评论(0) 推荐(0)
posted @ 2017-05-12 14:08 Eric.Xi 阅读(103) 评论(0) 推荐(0)