2018年12月2日

Shell--基础知识

摘要: 变量的定义: a=1 b=hello c="hello world !" d='hello "反启" !' e=`ls` (注意:这是反引号) 备注:=号左右不能有空格;如果内容有空格需要使用单引号或者双引号;双引号支持转译 $开头的变量会被自动替换 变量替换: ${value:-word}:如果变 阅读全文

posted @ 2018-12-02 17:18 我要的明天 阅读(262) 评论(0) 推荐(0) 编辑

导航