摘要: 1、 for file in `ls /etc` do echo $file done 2、变量赋值单引号内变量不变换,转义字符无效 双引号可以变换 your_name='qinjx' str="Hello, I know your are $your_name! \n"字符串长度echo ${#s 阅读全文
posted @ 2016-01-27 13:36 zhou09 阅读(179) 评论(0) 推荐(0) 编辑